fix: Update color scheme for profile menus and headers based on theme
This commit is contained in:
@@ -764,7 +764,7 @@ fun ProfilePhotoMenu(
|
||||
icon = Icons.Default.AddAPhoto,
|
||||
text = "Set Profile Photo",
|
||||
onClick = onSetPhotoClick,
|
||||
tintColor = PrimaryBlue,
|
||||
tintColor = if (isDarkTheme) Color.White else Color.Black,
|
||||
textColor = if (isDarkTheme) Color.White else Color.Black
|
||||
)
|
||||
}
|
||||
@@ -796,8 +796,8 @@ fun OtherProfileMenu(
|
||||
icon = if (isBlocked) Icons.Default.CheckCircle else Icons.Default.Block,
|
||||
text = if (isBlocked) "Unblock User" else "Block User",
|
||||
onClick = onBlockClick,
|
||||
tintColor = if (isBlocked) Color(0xFF4CAF50) else Color(0xFFFF3B30),
|
||||
textColor = if (isBlocked) Color(0xFF4CAF50) else Color(0xFFFF3B30)
|
||||
tintColor = if (isDarkTheme) Color.White else Color.Black,
|
||||
textColor = if (isDarkTheme) Color.White else Color.Black
|
||||
)
|
||||
|
||||
Box(
|
||||
@@ -812,8 +812,8 @@ fun OtherProfileMenu(
|
||||
icon = Icons.Default.Delete,
|
||||
text = "Clear Chat History",
|
||||
onClick = onClearChatClick,
|
||||
tintColor = Color(0xFFFF3B30),
|
||||
textColor = Color(0xFFFF3B30)
|
||||
tintColor = if (isDarkTheme) Color.White else Color.Black,
|
||||
textColor = if (isDarkTheme) Color.White else Color.Black
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user