diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-09-25 14:58:57 +0200 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2025-09-30 13:29:48 +0200 |
| commit | eb42b6259f50067e1591d13d131720c7eacdb8ef (patch) | |
| tree | a54d8dc2e4da7ab75f703eaae7214194f8e547e7 /android/lib/ui | |
| parent | f821c46c737259d6410bee6988e26f405d2f039a (diff) | |
| download | mullvadvpn-eb42b6259f50067e1591d13d131720c7eacdb8ef.tar.xz mullvadvpn-eb42b6259f50067e1591d13d131720c7eacdb8ef.zip | |
Adjust most dimensions to a 8pt grid systems in most cases
Diffstat (limited to 'android/lib/ui')
2 files changed, 3 insertions, 4 deletions
diff --git a/android/lib/ui/component/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/component/AnimatedNotificationBanner.kt b/android/lib/ui/component/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/component/AnimatedNotificationBanner.kt index 8889a37399..94a935db74 100644 --- a/android/lib/ui/component/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/component/AnimatedNotificationBanner.kt +++ b/android/lib/ui/component/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/component/AnimatedNotificationBanner.kt @@ -223,7 +223,7 @@ private fun NotificationAction( onClick = onClick, ) { Icon( - modifier = Modifier.padding(Dimens.notificationIconPadding), + modifier = Modifier.padding(Dimens.smallPadding), imageVector = imageVector, contentDescription = contentDescription, tint = MaterialTheme.colorScheme.onSurface, diff --git a/android/lib/ui/designsystem/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/designsystem/RelayListHeader.kt b/android/lib/ui/designsystem/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/designsystem/RelayListHeader.kt index 3dc20ff0e7..51a3d01b92 100644 --- a/android/lib/ui/designsystem/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/designsystem/RelayListHeader.kt +++ b/android/lib/ui/designsystem/src/main/kotlin/net/mullvad/mullvadvpn/lib/ui/designsystem/RelayListHeader.kt @@ -32,12 +32,11 @@ fun RelayListHeader( ) { ProvideContentColorTextStyle( MaterialTheme.colorScheme.onBackground, - MaterialTheme.typography.bodyLarge, + MaterialTheme.typography.labelLarge, ) { Row( modifier = - Modifier.padding(horizontal = Dimens.tinyPadding) - .defaultMinSize(minHeight = LIST_HEADER_MIN_HEIGHT) + Modifier.defaultMinSize(minHeight = LIST_HEADER_MIN_HEIGHT) .height(IntrinsicSize.Min) .then(modifier), verticalAlignment = Alignment.CenterVertically, |
