More tracepot fixes

This commit is contained in:
Jays2Kings 2021-04-18 01:53:46 -04:00
parent 3d2eac7772
commit fd73a7d941
2 changed files with 2 additions and 0 deletions

View File

@ -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()
}

View File

@ -305,6 +305,7 @@ class BrowseController :
}
override fun showSheet() {
if (!isBindingInitialized) return
binding.bottomSheet.root.sheetBehavior?.expand()
}