mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -32,9 +32,7 @@ class SearchText extends StatelessWidget {
|
||||
borderRadius: const BorderRadius.all(Radius.circular(6)),
|
||||
child: InkWell(
|
||||
onTap: () => onTap?.call(text),
|
||||
onLongPress: hasLongPress && Utils.isMobile
|
||||
? () => onLongPress!(text)
|
||||
: null,
|
||||
onLongPress: hasLongPress ? () => onLongPress!(text) : null,
|
||||
onSecondaryTap: hasLongPress && !Utils.isMobile
|
||||
? () => onLongPress!(text)
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user