Skip to content

Commit

Permalink
Fix blocked text color
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Apr 4, 2024
1 parent 3686aae commit ae77318
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ private fun ErrorText(isBlocking: Boolean, modifier: Modifier) {
id = if (isBlocking) R.string.blocked_connection else R.string.error_state
),
color =
if (isBlocking) MaterialTheme.colorScheme.surface else MaterialTheme.colorScheme.error,
if (isBlocking) MaterialTheme.colorScheme.onPrimary
else MaterialTheme.colorScheme.error,
style = MaterialTheme.typography.connectionStatus,
modifier = modifier
)
Expand Down

0 comments on commit ae77318

Please sign in to comment.