summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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),
)