Skip to content

Commit

Permalink
Use Dimens
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Sep 8, 2023
1 parent ecccfe6 commit 31de7c4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>, version: String, onDismiss: () -> Unit) {
Expand All @@ -42,7 +43,7 @@ fun ChangelogDialog(changesList: List<String>, 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),
Expand Down

0 comments on commit 31de7c4

Please sign in to comment.