Fix extensions update intent

This commit is contained in:
Jays2Kings 2021-04-27 23:04:36 -04:00
parent d9a4438226
commit 3255fac29e

View File

@ -556,7 +556,7 @@ open class MainActivity : BaseActivity<MainActivityBinding>(), DownloadServiceLi
} }
SHORTCUT_BROWSE -> binding.bottomNav.selectedItemId = R.id.nav_browse SHORTCUT_BROWSE -> binding.bottomNav.selectedItemId = R.id.nav_browse
SHORTCUT_EXTENSIONS -> { SHORTCUT_EXTENSIONS -> {
if (binding.bottomNav.selectedItemId != R.id.nav_recents) { if (binding.bottomNav.selectedItemId != R.id.nav_browse) {
binding.bottomNav.selectedItemId = R.id.nav_browse binding.bottomNav.selectedItemId = R.id.nav_browse
} else { } else {
router.popToRoot() router.popToRoot()