mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 16:31:50 +01:00
Swiping up on bottom nav with an expanded filter sheet now opens display options
This commit is contained in:
parent
b08a5d6596
commit
776e75cb6c
@ -834,9 +834,12 @@ class LibraryController(
|
||||
}
|
||||
|
||||
override fun showSheet() {
|
||||
if (bottom_sheet.sheetBehavior?.state == BottomSheetBehavior.STATE_HIDDEN) bottom_sheet.sheetBehavior?.state =
|
||||
BottomSheetBehavior.STATE_COLLAPSED
|
||||
else bottom_sheet.sheetBehavior?.state = BottomSheetBehavior.STATE_EXPANDED
|
||||
when {
|
||||
bottom_sheet.sheetBehavior?.state == BottomSheetBehavior.STATE_HIDDEN -> bottom_sheet.sheetBehavior?.state =
|
||||
BottomSheetBehavior.STATE_COLLAPSED
|
||||
bottom_sheet.sheetBehavior?.state != BottomSheetBehavior.STATE_EXPANDED -> bottom_sheet.sheetBehavior?.state = BottomSheetBehavior.STATE_EXPANDED
|
||||
else -> DisplayBottomSheet(this).show()
|
||||
}
|
||||
}
|
||||
|
||||
override fun toggleSheet() {
|
||||
|
Loading…
Reference in New Issue
Block a user