From 27c3aa60d0bdd221d54c8c482e66efa42be8bf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Tue, 17 Oct 2023 10:58:15 +0200 Subject: [PATCH] Add extra padding to sliders section to prevent overlap with timer --- .../com/simplemobiletools/flashlight/screens/MainScreen.kt | 3 +++ .../com/simplemobiletools/flashlight/views/SleepTimer.kt | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt index 9210bc0..da88181 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt @@ -81,6 +81,9 @@ internal fun MainScreen( sosButton() stroboscopeButton() slidersSection() + Spacer( + modifier = Modifier.size(SimpleTheme.dimens.padding.extraLarge) + ) } Box( diff --git a/app/src/main/kotlin/com/simplemobiletools/flashlight/views/SleepTimer.kt b/app/src/main/kotlin/com/simplemobiletools/flashlight/views/SleepTimer.kt index 4d9ac98..445ad86 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/views/SleepTimer.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/views/SleepTimer.kt @@ -34,7 +34,8 @@ internal fun SleepTimer( width = 1.dp, color = divider_grey, shape = RectangleShape - ).background(SimpleTheme.colorScheme.surface) + ) + .background(SimpleTheme.colorScheme.surface) ) { Text( modifier = Modifier