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:
@@ -286,9 +286,7 @@ class _InteractiveviewerGalleryState extends State<InteractiveviewerGallery>
|
||||
const Duration(milliseconds: 555),
|
||||
onDoubleTap,
|
||||
),
|
||||
onLongPress: !isFileImg && Utils.isMobile
|
||||
? () => onLongPress(item)
|
||||
: null,
|
||||
onLongPress: !isFileImg ? () => onLongPress(item) : null,
|
||||
onSecondaryTap: !isFileImg && !Utils.isMobile
|
||||
? () => onLongPress(item)
|
||||
: null,
|
||||
|
||||
@@ -79,7 +79,7 @@ class VideoCardV extends StatelessWidget {
|
||||
clipBehavior: Clip.hardEdge,
|
||||
child: InkWell(
|
||||
onTap: () => onPushDetail(Utils.makeHeroTag(videoItem.aid)),
|
||||
onLongPress: Utils.isMobile ? onLongPress : null,
|
||||
onLongPress: onLongPress,
|
||||
onSecondaryTap: Utils.isMobile ? null : onLongPress,
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
Reference in New Issue
Block a user