summaryrefslogtreecommitdiffhomepage
path: root/android/app
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2025-05-14 13:47:33 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-05-15 13:23:26 +0200
commit0a8e5bb15e69969252f723d68fa6987f74338580 (patch)
tree03b6d2b7a3f2f8ac2fdb35d0b3617e7544f46a0d /android/app
parent8e6028cbccab0750a034dd87a7c2f1de618c308e (diff)
downloadmullvadvpn-0a8e5bb15e69969252f723d68fa6987f74338580.tar.xz
mullvadvpn-0a8e5bb15e69969252f723d68fa6987f74338580.zip
Fix hardcoded fonts in device revoked
Diffstat (limited to 'android/app')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/DeviceRevokedScreen.kt7
1 files changed, 3 insertions, 4 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/DeviceRevokedScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/DeviceRevokedScreen.kt
index d0a334d561..c4ac266211 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/DeviceRevokedScreen.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/DeviceRevokedScreen.kt
@@ -123,14 +123,13 @@ fun DeviceRevokedScreen(
) {
Text(
text = stringResource(id = R.string.device_inactive_title),
- fontSize = 24.sp,
+ style = MaterialTheme.typography.headlineLarge,
color = MaterialTheme.colorScheme.onSurface,
- fontWeight = FontWeight.Bold,
)
Text(
text = stringResource(id = R.string.device_inactive_description),
- fontSize = 12.sp,
+ style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurface,
modifier = Modifier.padding(top = 10.dp),
)
@@ -138,7 +137,7 @@ fun DeviceRevokedScreen(
if (state == DeviceRevokedUiState.SECURED) {
Text(
text = stringResource(id = R.string.device_inactive_unblock_warning),
- fontSize = 12.sp,
+ style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurface,
modifier = Modifier.padding(top = 10.dp),
)