opt mouse control

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-28 15:33:09 +08:00
parent 2031604ea2
commit 5f8dc76891
19 changed files with 268 additions and 191 deletions

View File

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