Skip to content

Commit

Permalink
First release
Browse files Browse the repository at this point in the history
  • Loading branch information
hristogochev committed Dec 28, 2024
1 parent c7bdfef commit c496ab1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,12 @@ public fun Navigator(
},
restore = { saved ->
val savedKey = saved["key"] as? String ?: error("No saved navigator")

@Suppress("UNCHECKED_CAST")
val savedScreens =
saved["items"] as? List<Screen> ?: error("No saved navigator")

@Suppress("UNCHECKED_CAST")
val savedScreenStateKeys =
saved["screenStateKeys"] as? List<String> ?: error("No saved navigator")
Navigator(
Expand Down

0 comments on commit c496ab1

Please sign in to comment.