mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-27 12:36:27 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -44,7 +44,7 @@ class FavNoteItem extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
},
|
||||
onLongPress: Utils.isMobile ? onLongPress : null,
|
||||
onLongPress: onLongPress,
|
||||
onSecondaryTap: Utils.isMobile ? null : onLongPress,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
|
||||
@@ -47,7 +47,7 @@ class FavPgcItem extends StatelessWidget {
|
||||
}
|
||||
PageUtils.viewPgc(seasonId: item.seasonId);
|
||||
},
|
||||
onLongPress: Utils.isMobile ? onLongPress : null,
|
||||
onLongPress: onLongPress,
|
||||
onSecondaryTap: Utils.isMobile ? null : onLongPress,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
|
||||
@@ -97,7 +97,7 @@ class _FavTopicPageState extends State<FavTopicPage>
|
||||
'name': item.name!,
|
||||
},
|
||||
),
|
||||
onLongPress: Utils.isMobile ? onLongPress : null,
|
||||
onLongPress: onLongPress,
|
||||
onSecondaryTap: Utils.isMobile ? null : onLongPress,
|
||||
borderRadius: const BorderRadius.all(
|
||||
Radius.circular(6),
|
||||
|
||||
Reference in New Issue
Block a user