opt gesture

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-29 16:14:34 +08:00
parent 19f7720fb2
commit be03909fdc
18 changed files with 43 additions and 61 deletions

View File

@@ -106,12 +106,10 @@ class _FollowPageState extends State<FollowPage> {
if (_isCustomTag(item.tagid)) {
return GestureDetector(
behavior: HitTestBehavior.translucent,
onLongPress: Utils.isMobile
? () {
Feedback.forLongPress(context);
_onHandleTag(index, item);
}
: null,
onLongPress: () {
Feedback.forLongPress(context);
_onHandleTag(index, item);
},
onSecondaryTap: Utils.isMobile
? null
: () => _onHandleTag(index, item),