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(
visible = appState.shouldShowBottomBar && destination != null
) {
BottomAppBar(
windowInsets = WindowInsets(0)
) {
BottomAppBar {
OxygenBottomBar(
destinations = appState.topLevelDestinations,
currentDestination = appState.currentDestination,