fix: lock icon colors for better visibility in light theme

This commit is contained in:
andrekir
2024-10-03 18:30:00 -03:00
parent f944a236ac
commit 7da2dd8bb7

View File

@@ -25,8 +25,8 @@ fun NodeKeyStatusIcon(
) {
val (icon, tint) = when {
mismatchKey -> rememberVectorPainter(Icons.Default.KeyOff) to Color.Red
hasPKC -> rememberVectorPainter(Icons.Default.Lock) to Color.Green
else -> painterResource(R.drawable.ic_lock_open_right_24) to Color.Yellow
hasPKC -> rememberVectorPainter(Icons.Default.Lock) to Color(color = 0xFF30C047)
else -> painterResource(R.drawable.ic_lock_open_right_24) to Color(color = 0xFFFEC30A)
}
Icon(
painter = icon,