opt gesture

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-29 16:14:34 +08:00
parent 19f7720fb2
commit be03909fdc
18 changed files with 43 additions and 61 deletions

View File

@@ -104,12 +104,10 @@ class ReplyItemGrpc extends StatelessWidget {
feedBack();
replyReply?.call(replyItem, null);
},
onLongPress: isMobile
? () {
feedBack();
showMore();
}
: null,
onLongPress: () {
feedBack();
showMore();
},
onSecondaryTap: isMobile ? null : showMore,
child: _buildContent(context, theme),
),
@@ -499,12 +497,10 @@ class ReplyItemGrpc extends StatelessWidget {
return InkWell(
onTap: () =>
replyReply?.call(replyItem, childReply.id.toInt()),
onLongPress: Utils.isMobile
? () {
feedBack();
showMore();
}
: null,
onLongPress: () {
feedBack();
showMore();
},
onSecondaryTap: Utils.isMobile ? null : showMore,
child: Padding(
padding: padding,