Skip to content

Commit

Permalink
Remove bottom innerPadding
Browse files Browse the repository at this point in the history
  • Loading branch information
soupslurpr committed Dec 15, 2023
1 parent da00c1c commit 6dd9df6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/src/main/kotlin/dev/soupslurpr/beautyxt/BeauTyXT.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.calculateEndPadding
import androidx.compose.foundation.layout.calculateStartPadding
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
Expand Down Expand Up @@ -61,6 +63,7 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import androidx.core.app.ActivityOptionsCompat
import androidx.core.content.ContextCompat.startActivity
Expand Down Expand Up @@ -1287,7 +1290,11 @@ ${
} else {
BeauTyXTScreens.Start.name
},
modifier = modifier.padding(innerPadding),
modifier = modifier.padding(
innerPadding.calculateStartPadding(LayoutDirection.Ltr),
innerPadding.calculateTopPadding(),
innerPadding.calculateEndPadding(LayoutDirection.Ltr)
),
) {
composable(route = BeauTyXTScreens.Start.name) {
StartupScreen(
Expand Down

0 comments on commit 6dd9df6

Please sign in to comment.