mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-26 12:07:11 +08:00
opt gesture
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user