Refactor(BottomAppBar): Adapt virtual button navigation bar
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user