From 3579f61cb9ce3935a31e7a40a934294a84b65325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 9 Oct 2023 08:28:46 +0200 Subject: [PATCH] Simplify padding for slider in `MainScreen` --- .../com/simplemobiletools/flashlight/screens/MainScreen.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 f1989a0..59b7059 100644 --- a/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt +++ b/app/src/main/kotlin/com/simplemobiletools/flashlight/screens/MainScreen.kt @@ -17,6 +17,7 @@ import androidx.compose.ui.graphics.painter.Painter import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.dp import com.simplemobiletools.commons.compose.extensions.AdjustNavigationBarColors import com.simplemobiletools.commons.compose.extensions.MyDevices import com.simplemobiletools.commons.compose.extensions.rememberMutableInteractionSource @@ -170,9 +171,8 @@ internal fun MainScreenSlidersSection( val dimens = SimpleTheme.dimens val sliderModifier = remember { Modifier - .padding(dimens.margin.extraLarge) - .padding(vertical = dimens.margin.medium) - .padding(bottom = dimens.margin.extraLarge) + .padding(horizontal = dimens.margin.extraLarge) + .padding(top = 24.dp, bottom = 40.dp) .size(width = AppDimensions.seekbarWidth, height = AppDimensions.seekbarHeight) }