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

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

View File

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