Commit be9e2e5c authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Navigator: Fix default video grouping value

parent 79a62533
...@@ -142,7 +142,7 @@ class Navigator: NavigationView.OnNavigationItemSelectedListener, LifecycleObser ...@@ -142,7 +142,7 @@ class Navigator: NavigationView.OnNavigationItemSelectedListener, LifecycleObser
R.id.nav_network -> NetworkBrowserFragment() R.id.nav_network -> NetworkBrowserFragment()
R.id.nav_mrl -> MRLPanelFragment() R.id.nav_mrl -> MRLPanelFragment()
else -> { 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 { when {
group > 0 -> VideoGroupsFragment() group > 0 -> VideoGroupsFragment()
group == 0 -> FoldersFragment() group == 0 -> FoldersFragment()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment