mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Tapping library filter twice now opens display options
This commit is contained in:
parent
8cbbe2c8ff
commit
2edf519afd
1 changed files with 3 additions and 1 deletions
|
@ -1758,7 +1758,9 @@ class LibraryController(
|
|||
R.id.action_search -> expandActionViewFromInteraction = true
|
||||
R.id.action_filter -> {
|
||||
hasExpanded = true
|
||||
binding.filterBottomSheet.filterBottomSheet.sheetBehavior?.expand()
|
||||
val sheetBehavior = binding.filterBottomSheet.filterBottomSheet.sheetBehavior
|
||||
if (!sheetBehavior.isExpanded()) sheetBehavior?.expand()
|
||||
else showDisplayOptions()
|
||||
}
|
||||
else -> return super.onOptionsItemSelected(item)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue