mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-21 02:19:30 +00:00
fix: change library switcher activation from long press to double tap
This commit is contained in:
parent
6ce4537985
commit
7edd21ab01
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class ScaffoldWithNavBar extends HookConsumerWidget {
|
||||||
if (item.name == 'Library') {
|
if (item.name == 'Library') {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onSecondaryTap: () => showLibrarySwitcher(context, ref),
|
onSecondaryTap: () => showLibrarySwitcher(context, ref),
|
||||||
onLongPress: () => showLibrarySwitcher(context, ref),
|
onDoubleTap: () => showLibrarySwitcher(context, ref),
|
||||||
child:
|
child:
|
||||||
destinationWidget, // Wrap the actual NavigationDestination
|
destinationWidget, // Wrap the actual NavigationDestination
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue