fix: order of modifier to exclude the overlay on the navigation bar
This commit is contained in:
parent
dc06246ffc
commit
8522a29b77
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue