[Android] Navigator: Fix default video grouping value
Geoffrey Métais
git at videolan.org
Tue Sep 24 16:50:59 CEST 2019
vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 24 16:41:39 2019 +0200| [0cb645dce38c894dc803d86c50e7f0ba37322392] | committer: Geoffrey Métais
Navigator: Fix default video grouping value
(cherry picked from commit be9e2e5c4d0cc914f52543a5ae6b558ca964da08)
> https://code.videolan.org/videolan/vlc-android/commit/0cb645dce38c894dc803d86c50e7f0ba37322392
---
vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt b/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
index 8a386f04e..7dfb9361b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
@@ -142,7 +142,7 @@ class Navigator: NavigationView.OnNavigationItemSelectedListener, LifecycleObser
R.id.nav_network -> NetworkBrowserFragment()
R.id.nav_mrl -> MRLPanelFragment()
else -> {
- val group = Integer.valueOf(Settings.getInstance(activity.applicationContext).getString("video_min_group_length", "6")!!)
+ val group = Integer.valueOf(Settings.getInstance(activity.applicationContext).getString("video_min_group_length", "-1")!!)
when {
group > 0 -> VideoGroupsFragment()
group == 0 -> FoldersFragment()
More information about the Android
mailing list