fix: Update dialog background and text color in VerifiedBadge for better visibility

This commit is contained in:
k1ngsterr1
2026-01-25 18:27:31 +05:00
parent ff878ca878
commit efd666ee41

View File

@@ -59,7 +59,7 @@ fun VerifiedBadge(
Dialog(onDismissRequest = { showDialog = false }) {
Surface(
shape = RoundedCornerShape(12.dp),
color = MaterialTheme.colorScheme.surface,
color = Color(0xFF2A2A2A), // Темный фон
tonalElevation = 8.dp
) {
Column(
@@ -76,13 +76,13 @@ fun VerifiedBadge(
Text(
text = annotationText,
fontSize = 14.sp,
color = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.7f),
color = Color.White.copy(alpha = 0.85f), // Белый текст для темного фона
lineHeight = 20.sp,
textAlign = androidx.compose.ui.text.style.TextAlign.Center
)
Spacer(modifier = Modifier.height(16.dp))
TextButton(onClick = { showDialog = false }) {
Text("OK")
Text("OK", color = Color.White)
}
}
}