Skip to content
Snippets Groups Projects
Commit 8876e14b authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Remove dead code

parent c6e4b618
No related branches found
No related tags found
No related merge requests found
Pipeline #5322 passed with stage
in 3 minutes and 58 seconds
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment