mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 04:59:17 +01:00
Fix floating toolbar showing on some screens while bottom sheet is collapsing
This commit is contained in:
parent
090e9ee005
commit
f6f236e1d9
@ -333,8 +333,10 @@ class RecentsController(bundle: Bundle? = null) :
|
||||
}
|
||||
|
||||
fun updateTitleAndMenu() {
|
||||
(activity as? MainActivity)?.setFloatingToolbar(!showingDownloads, true)
|
||||
setTitle()
|
||||
if (router.backstack.lastOrNull()?.controller == this) {
|
||||
(activity as? MainActivity)?.setFloatingToolbar(!showingDownloads, true)
|
||||
setTitle()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setBottomPadding() {
|
||||
|
@ -229,9 +229,11 @@ class BrowseController :
|
||||
}
|
||||
|
||||
fun updateTitleAndMenu() {
|
||||
(activity as? MainActivity)?.setFloatingToolbar(!showingExtensions)
|
||||
activity?.invalidateOptionsMenu()
|
||||
setTitle()
|
||||
if (router.backstack.lastOrNull()?.controller == this) {
|
||||
(activity as? MainActivity)?.setFloatingToolbar(!showingExtensions)
|
||||
activity?.invalidateOptionsMenu()
|
||||
setTitle()
|
||||
}
|
||||
}
|
||||
|
||||
fun setBottomSheetTabs(progress: Float) {
|
||||
|
Loading…
Reference in New Issue
Block a user