Skip to content

Commit

Permalink
Switch back
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Feb 2, 2024
1 parent 70a1512 commit b2d0e16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ fun HomeContent(state: HomeScreen.State, modifier: Modifier = Modifier) {
}
},
) { paddingValues ->
val saveableStateHolder = rememberRetainedStateHolder()
val saveableStateHolder = rememberSaveableStateHolder()
val currentScreen = state.navItems[state.selectedIndex].screen
saveableStateHolder.RetainedStateProvider(currentScreen) {
saveableStateHolder.SaveableStateProvider(currentScreen) {
val circuit = requireNotNull(LocalCircuit.current)
val ui = rememberUi(currentScreen, factory = circuit::ui)
val presenter =
Expand Down

0 comments on commit b2d0e16

Please sign in to comment.