fix: Update color scheme for profile menus and headers based on theme
This commit is contained in:
@@ -339,7 +339,7 @@ private fun CollapsingOtherProfileHeader(
|
||||
Text(
|
||||
text = "online",
|
||||
fontSize = onlineFontSize,
|
||||
color = Color(0xFF4CAF50)
|
||||
color = if (isDarkTheme) Color.White.copy(alpha = 0.6f) else Color.Black.copy(alpha = 0.5f)
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -355,11 +355,7 @@ private fun TelegramBlockItem(
|
||||
isDarkTheme: Boolean
|
||||
) {
|
||||
val textColor = if (isDarkTheme) Color.White else Color.Black
|
||||
val iconColor = if (isBlocked) {
|
||||
if (isDarkTheme) Color(0xFF66BB6A) else Color(0xFF4CAF50)
|
||||
} else {
|
||||
if (isDarkTheme) Color(0xFFFF8787) else Color(0xFFEF4444)
|
||||
}
|
||||
val iconColor = if (isDarkTheme) Color.White else Color.Black
|
||||
|
||||
Row(
|
||||
modifier = Modifier
|
||||
|
||||
Reference in New Issue
Block a user