File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
app/src/main/kotlin/com/simplemobiletools/flashlight/screens Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ package com.simplemobiletools.flashlight.screens
22
33import androidx.compose.foundation.background
44import androidx.compose.foundation.border
5- import androidx.compose.foundation.layout.Box
6- import androidx.compose.foundation.layout.fillMaxSize
7- import androidx.compose.foundation.layout.navigationBarsPadding
8- import androidx.compose.foundation.layout.wrapContentSize
5+ import androidx.compose.foundation.layout.*
96import androidx.compose.material3.Text
107import androidx.compose.material3.TextButton
118import androidx.compose.runtime.Composable
@@ -33,6 +30,7 @@ internal fun BrightDisplayScreen(
3330 modifier = Modifier
3431 .fillMaxSize()
3532 .background(Color (backgroundColor))
33+ .safeDrawingPadding()
3634 ) {
3735 TextButton (
3836 modifier = Modifier
@@ -54,7 +52,6 @@ internal fun BrightDisplayScreen(
5452 Box (
5553 modifier = Modifier
5654 .align(Alignment .BottomEnd )
57- .navigationBarsPadding()
5855 ) {
5956 sleepTimer()
6057 }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ internal fun WidgetConfigureScreen(
3737 onSavePressed : () -> Unit
3838) {
3939 Column (
40- modifier = Modifier .fillMaxSize(),
40+ modifier = Modifier .fillMaxSize().safeDrawingPadding() ,
4141 verticalArrangement = Arrangement .Bottom ,
4242 ) {
4343 Box (
You can’t perform that action at this time.
0 commit comments