From ae77318fd5651e407f5add48eb238d002ba28d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B6ransson?= Date: Wed, 3 Apr 2024 10:41:27 +0200 Subject: [PATCH] Fix blocked text color --- .../mullvadvpn/compose/component/ConnectionStatusText.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 )