Skip to content

Commit

Permalink
fix: use key instead screen on transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrielcafe committed Aug 9, 2021
1 parent c9f8fc4 commit ea49da9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public fun ScreenTransition(

Box(modifier) {
items.forEach {
key(it.screen) {
key(it.screen.key) {
navigator.stateHolder.SaveableStateProvider(it.screen.key) {
it.content()
}
Expand Down

0 comments on commit ea49da9

Please sign in to comment.