fix: Update color scheme for profile menus and headers based on theme

This commit is contained in:
k1ngsterr1
2026-01-22 19:05:40 +05:00
parent 80128df6e1
commit 4e2e6d1259
2 changed files with 7 additions and 11 deletions

View File

@@ -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