mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-20 02:20:11 +08:00
opt mouse control
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user