From d66bd4a4599930fad96a51db4e5d9cc54a8c9e9a Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 23 Oct 2023 15:38:24 +0200 Subject: [PATCH] PIN unlock : adjust ui a bit --- .../android/features/lockscreen/impl/unlock/PinUnlockView.kt | 4 +++- .../features/lockscreen/impl/unlock/keypad/PinKeypad.kt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/PinUnlockView.kt b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/PinUnlockView.kt index 37cb591007..5769f42b35 100644 --- a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/PinUnlockView.kt +++ b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/PinUnlockView.kt @@ -78,7 +78,9 @@ fun PinUnlockView( ) } val footer = @Composable { - PinUnlockFooter() + PinUnlockFooter( + modifier = Modifier.padding(top = 24.dp) + ) } val content = @Composable { constraints: BoxWithConstraintsScope -> PinKeypad( diff --git a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt index 1056718dd0..9db5cfe11a 100644 --- a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt +++ b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/keypad/PinKeypad.kt @@ -49,7 +49,7 @@ import io.element.android.libraries.theme.ElementTheme import kotlinx.collections.immutable.ImmutableList import kotlinx.collections.immutable.persistentListOf -private val spaceBetweenPinKey = 8.dp +private val spaceBetweenPinKey = 16.dp private val maxSizePinKey = 80.dp @Composable