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