mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Bottom nav visible on deep link
This commit is contained in:
parent
facb8f84e9
commit
0a8d37c1ed
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue