File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
feature/main/src/main/kotlin/com/ninecraft/booket/feature/main/screens Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ fun BottomNavigation(
3434 ) { innerPadding ->
3535 ContentWithOverlays {
3636 NavigableCircuitContent (
37- navigator = state.childNavigator ,
37+ navigator = state.navigator ,
3838 backStack = state.childBackStack,
3939 modifier = Modifier
4040 .fillMaxSize()
Original file line number Diff line number Diff line change @@ -41,15 +41,14 @@ class BottomNavigationPresenter @AssistedInject constructor(
4141 }
4242
4343 is BottomNavigationUiEvent .NavigateToFullScreen -> {
44- rootNavigator .goTo(event.screen)
44+ delegatingNavigator .goTo(event.screen)
4545 }
4646 }
4747 }
4848
4949 return BottomNavigationUiState (
5050 childBackStack = childBackStack,
51- childNavigator = delegatingNavigator,
52- rootNavigator = rootNavigator,
51+ navigator = delegatingNavigator,
5352 currentTab = currentTab,
5453 eventSink = ::handleEvent,
5554 )
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ import com.slack.circuit.runtime.Navigator
77
88data class BottomNavigationUiState (
99 val childBackStack : SaveableBackStack ,
10- val childNavigator : Navigator ,
11- val rootNavigator : Navigator ,
10+ val navigator : Navigator ,
1211 val currentTab : MainTab ? ,
1312 val eventSink : (BottomNavigationUiEvent ) -> Unit ,
1413) : CircuitUiState
You can’t perform that action at this time.
0 commit comments