|
|
@ -201,13 +201,13 @@ internal fun NiaApp(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Box(
|
|
|
|
Box(
|
|
|
|
modifier = if (shouldShowTopAppBar) {
|
|
|
|
modifier = Modifier.consumeWindowInsets(
|
|
|
|
Modifier.consumeWindowInsets(
|
|
|
|
if (shouldShowTopAppBar) {
|
|
|
|
WindowInsets.safeDrawing.only(WindowInsetsSides.Top),
|
|
|
|
WindowInsets.safeDrawing.only(WindowInsetsSides.Top)
|
|
|
|
)
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
WindowInsets(0, 0, 0, 0)
|
|
|
|
Modifier
|
|
|
|
},
|
|
|
|
},
|
|
|
|
),
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
NiaNavHost(
|
|
|
|
NiaNavHost(
|
|
|
|
appState = appState,
|
|
|
|
appState = appState,
|
|
|
|