[Android] Navigator: Fix default video grouping value
Geoffrey Métais
git at videolan.org
Tue Sep 24 16:43:30 CEST 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 24 16:41:39 2019 +0200| [be9e2e5c4d0cc914f52543a5ae6b558ca964da08] | committer: Geoffrey Métais
Navigator: Fix default video grouping value
> https://code.videolan.org/videolan/vlc-android/commit/be9e2e5c4d0cc914f52543a5ae6b558ca964da08
---
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