From 31de7c4d0174c31ba4b4e26329dda9a76746c4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B6ransson?= Date: Fri, 8 Sep 2023 15:18:50 +0200 Subject: [PATCH] Use Dimens --- .../net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt index e7f786b5b6a9..860845e2f17b 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/dialog/ChangelogDialog.kt @@ -23,6 +23,7 @@ import androidx.compose.ui.unit.sp import androidx.compose.ui.window.DialogProperties import net.mullvad.mullvadvpn.R import net.mullvad.mullvadvpn.compose.component.ChangeListItem +import net.mullvad.mullvadvpn.lib.theme.Dimens @Composable fun ChangelogDialog(changesList: List, version: String, onDismiss: () -> Unit) { @@ -42,7 +43,7 @@ fun ChangelogDialog(changesList: List, version: String, onDismiss: () -> Column( modifier = Modifier.fillMaxWidth(), verticalArrangement = - Arrangement.spacedBy(dimensionResource(id = R.dimen.small_padding)) + Arrangement.spacedBy(Dimens.smallPadding) ) { Text( text = stringResource(R.string.changes_dialog_subtitle),