Skip to content

Commit

Permalink
Fix crash when restoring DestinationFragmentView state
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen committed Dec 5, 2024
1 parent f4a291f commit 33f1151
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class DestinationFragmentView @JvmOverloads constructor(
// Save state
return bundleOf(
BUNDLE_SUPER to super.onSaveInstanceState(),
BUNDLE_HISTORY to history.toList(),
BUNDLE_HISTORY to ArrayList(history),
)
}

Expand Down

0 comments on commit 33f1151

Please sign in to comment.