Refactor(BottomAppBar): Adapt virtual button navigation bar

This commit is contained in:
2024-09-30 12:09:43 +08:00
parent af3edb1d30
commit 2631c22e52

View File

@@ -129,9 +129,7 @@ fun OxygenApp(appState: OxygenAppState) {
AnimatedVisibility( AnimatedVisibility(
visible = appState.shouldShowBottomBar && destination != null visible = appState.shouldShowBottomBar && destination != null
) { ) {
BottomAppBar( BottomAppBar {
windowInsets = WindowInsets(0)
) {
OxygenBottomBar( OxygenBottomBar(
destinations = appState.topLevelDestinations, destinations = appState.topLevelDestinations,
currentDestination = appState.currentDestination, currentDestination = appState.currentDestination,