mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
opt sub reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -480,12 +480,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
padding = const EdgeInsets.fromLTRB(8, 4, 8, 4);
|
||||
}
|
||||
}
|
||||
return InkWell(
|
||||
onTap: () =>
|
||||
replyReply?.call(replyItem, childReply.id.toInt()),
|
||||
onLongPress: () {
|
||||
feedBack();
|
||||
showModalBottomSheet(
|
||||
void showMore() => showModalBottomSheet(
|
||||
context: context,
|
||||
useSafeArea: true,
|
||||
isScrollControlled: true,
|
||||
@@ -501,7 +496,16 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
return InkWell(
|
||||
onTap: () =>
|
||||
replyReply?.call(replyItem, childReply.id.toInt()),
|
||||
onLongPress: Utils.isMobile
|
||||
? () {
|
||||
feedBack();
|
||||
showMore();
|
||||
}
|
||||
: null,
|
||||
onSecondaryTap: Utils.isMobile ? null : showMore,
|
||||
child: Padding(
|
||||
padding: padding,
|
||||
child: Text.rich(
|
||||
|
||||
Reference in New Issue
Block a user