diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ConnectionStatusText.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ConnectionStatusText.kt index 903bb412dc25..a081b9f07915 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ConnectionStatusText.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ConnectionStatusText.kt @@ -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 )