From 663b03d635a455618d1990cc53ba3aec48b5a0d1 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Thu, 5 Dec 2024 15:30:48 +0100 Subject: [PATCH] Fix crash when restoring DestinationFragmentView state --- .../jellyfin/androidtv/ui/browsing/DestinationFragmentView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/jellyfin/androidtv/ui/browsing/DestinationFragmentView.kt b/app/src/main/java/org/jellyfin/androidtv/ui/browsing/DestinationFragmentView.kt index 47c33f0ad8..91e6a9f824 100644 --- a/app/src/main/java/org/jellyfin/androidtv/ui/browsing/DestinationFragmentView.kt +++ b/app/src/main/java/org/jellyfin/androidtv/ui/browsing/DestinationFragmentView.kt @@ -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), ) }