Skip to content

Commit

Permalink
fix: Bottom nav visible on deep link
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Jan 14, 2024
1 parent facb8f8 commit 0a8d37c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,7 @@ open class MainActivity : BaseActivity<MainActivityBinding>() {
}
}
Intent.ACTION_VIEW -> {
if (router.backstack.isEmpty()) nav.selectedItemId = R.id.nav_library
if (intent.scheme == "tachiyomi" && intent.data?.host == "add-repo") {
intent.data?.getQueryParameter("url")?.let { repoUrl ->
router.popToRoot()
Expand Down

0 comments on commit 0a8d37c

Please sign in to comment.