mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 14:51:50 +01:00
More tracepot fixes
This commit is contained in:
parent
3d2eac7772
commit
fd73a7d941
@ -627,6 +627,7 @@ class RecentsController(bundle: Bundle? = null) :
|
||||
fun hasQueue() = presenter.downloadManager.hasQueue()
|
||||
|
||||
override fun showSheet() {
|
||||
if (!isBindingInitialized) return
|
||||
if (binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.isHideable == false || hasQueue()) {
|
||||
binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.expand()
|
||||
}
|
||||
|
@ -305,6 +305,7 @@ class BrowseController :
|
||||
}
|
||||
|
||||
override fun showSheet() {
|
||||
if (!isBindingInitialized) return
|
||||
binding.bottomSheet.root.sheetBehavior?.expand()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user