Fix sub intents setting last tab to library

This commit is contained in:
Jays2Kings 2021-04-07 18:46:18 -04:00
parent 1fe46ef475
commit e893326c1f

View File

@ -534,6 +534,7 @@ open class MainActivity : BaseActivity<MainActivityBinding>(), DownloadServiceLi
}
private fun setStartingTab() {
if (this is SearchActivity) return
if (binding.bottomNav.selectedItemId != R.id.nav_browse &&
preferences.startingTab().get() >= 0
) {