mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 11:51:50 +01:00
Fix floating action bar showing in some intents
This commit is contained in:
parent
f473e46c92
commit
5fe86a98f4
@ -153,7 +153,6 @@ open class MainActivity : BaseActivity<MainActivityBinding>(), DownloadServiceLi
|
||||
binding = MainActivityBinding.inflate(layoutInflater)
|
||||
|
||||
setContentView(binding.root)
|
||||
setFloatingToolbar(this !is SearchActivity)
|
||||
|
||||
drawerArrow = DrawerArrowDrawable(this)
|
||||
drawerArrow?.color = getResourceColor(R.attr.actionBarTintColor)
|
||||
@ -349,6 +348,7 @@ open class MainActivity : BaseActivity<MainActivityBinding>(), DownloadServiceLi
|
||||
binding.cardToolbar.setIncognitoMode(it)
|
||||
}
|
||||
setExtensionsBadge()
|
||||
setFloatingToolbar(canShowFloatingToolbar(router.backstack.lastOrNull()?.controller()))
|
||||
}
|
||||
|
||||
open fun setFloatingToolbar(show: Boolean, solidBG: Boolean = false) {
|
||||
|
Loading…
Reference in New Issue
Block a user