[Android] Remove dead code
Geoffrey Métais
git at videolan.org
Thu Mar 7 10:55:19 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 7 10:54:45 2019 +0100| [8876e14b80f07da79cb3345ff2b53edc2fd83a45] | committer: Geoffrey Métais
Remove dead code
> https://code.videolan.org/videolan/vlc-android/commit/8876e14b80f07da79cb3345ff2b53edc2fd83a45
---
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 8ee8446f8..ce1e52aba 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/Navigator.kt
@@ -63,7 +63,7 @@ class Navigator(private val activity: MainActivity,
): com.google.android.material.navigation.NavigationView.OnNavigationItemSelectedListener, LifecycleObserver {
private val fragmentsStack = SimpleArrayMap<String, WeakReference<Fragment>>()
- private val defaultFragmentId inline get() = if (settings.getInt(KEY_MEDIALIBRARY_SCAN, ML_SCAN_OFF) == ML_SCAN_ON) R.id.nav_video else R.id.nav_directories
+ private val defaultFragmentId= R.id.nav_video
var currentFragmentId = target
var currentFragment: Fragment? = null
private set
More information about the Android
mailing list