Skip to content

Commit

Permalink
fix: lock icon colors for better visibility in light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Oct 3, 2024
1 parent f944a23 commit 7da2dd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7da2dd8

Please sign in to comment.