mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 18:01:49 +01:00
Fix being able to expand/collapse a single category via long press hopper
This commit is contained in:
parent
1e454f5a6c
commit
729f9af34a
@ -614,7 +614,7 @@ class LibraryController(
|
|||||||
when (preferences.hopperLongPressAction().get()) {
|
when (preferences.hopperLongPressAction().get()) {
|
||||||
3 -> showGroupOptions()
|
3 -> showGroupOptions()
|
||||||
2 -> showDisplayOptions()
|
2 -> showDisplayOptions()
|
||||||
1 -> presenter.toggleAllCategoryVisibility()
|
1 -> if (canCollapseOrExpandCategory() != null) presenter.toggleAllCategoryVisibility()
|
||||||
else -> activityBinding?.toolbar?.menu?.performIdentifierAction(
|
else -> activityBinding?.toolbar?.menu?.performIdentifierAction(
|
||||||
R.id.action_search,
|
R.id.action_search,
|
||||||
0
|
0
|
||||||
|
Loading…
Reference in New Issue
Block a user