mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 21:35:11 +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()
|
fun hasQueue() = presenter.downloadManager.hasQueue()
|
||||||
|
|
||||||
override fun showSheet() {
|
override fun showSheet() {
|
||||||
|
if (!isBindingInitialized) return
|
||||||
if (binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.isHideable == false || hasQueue()) {
|
if (binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.isHideable == false || hasQueue()) {
|
||||||
binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.expand()
|
binding.downloadBottomSheet.dlBottomSheet.sheetBehavior?.expand()
|
||||||
}
|
}
|
||||||
|
@ -305,6 +305,7 @@ class BrowseController :
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun showSheet() {
|
override fun showSheet() {
|
||||||
|
if (!isBindingInitialized) return
|
||||||
binding.bottomSheet.root.sheetBehavior?.expand()
|
binding.bottomSheet.root.sheetBehavior?.expand()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user