mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
More tracepot fixes
This commit is contained in:
parent
3d2eac7772
commit
fd73a7d941
2 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue