fix: order of modifier to exclude the overlay on the navigation bar

This commit is contained in:
FunkyMuse 2023-08-23 15:21:56 +02:00
parent dc06246ffc
commit 8522a29b77

View file

@ -31,12 +31,12 @@ internal fun ScreenBoxSettingsScaffold(paddingValues: PaddingValues, modifier: M
Box(
modifier = modifier
.fillMaxSize()
.background(MaterialTheme.colorScheme.surface)
.padding(
top = paddingValues.calculateTopPadding(),
start = paddingValues.calculateStartPadding(layoutDirection),
end = paddingValues.calculateEndPadding(layoutDirection)
)
.background(MaterialTheme.colorScheme.surface)
) {
content()
}