Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Geoffrey Métais
VLC-Android
Commits
be9e2e5c
Commit
be9e2e5c
authored
Sep 24, 2019
by
Geoffrey Métais
Browse files
Navigator: Fix default video grouping value
parent
79a62533
Changes
1
Show whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
View file @
be9e2e5c
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment