Fix edge-to-edge layout issues (#367)

* Remove redundant setDecorFitsSystemWindows call

* Fix edge-to-edge layout issues
This commit is contained in:
Héctor de Isidro
2025-09-02 14:25:45 +02:00
committed by GitHub
parent e380408b28
commit bbf5918896
6 changed files with 32 additions and 39 deletions
@@ -21,6 +21,7 @@ import androidx.compose.ui.unit.dp
*/
@Composable
fun LocationCheckScreen(
modifier: Modifier,
status: LocationStatus,
onEnableLocation: () -> Unit,
onRetry: () -> Unit,
@@ -29,9 +30,7 @@ fun LocationCheckScreen(
val colorScheme = MaterialTheme.colorScheme
Box(
modifier = Modifier
.fillMaxSize()
.padding(32.dp),
modifier = modifier.padding(32.dp),
contentAlignment = Alignment.Center
) {
when (status) {