mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 02:58:39 +00:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user