mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-26 09:25:22 +00:00
Fix edge-to-edge layout issues (#367)
* Remove redundant setDecorFitsSystemWindows call * Fix edge-to-edge layout issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user