opt sub reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-28 17:51:44 +08:00
parent 328034f3ed
commit 138b7935f3

View File

@@ -480,12 +480,7 @@ class ReplyItemGrpc extends StatelessWidget {
padding = const EdgeInsets.fromLTRB(8, 4, 8, 4); padding = const EdgeInsets.fromLTRB(8, 4, 8, 4);
} }
} }
return InkWell( void showMore() => showModalBottomSheet(
onTap: () =>
replyReply?.call(replyItem, childReply.id.toInt()),
onLongPress: () {
feedBack();
showModalBottomSheet(
context: context, context: context,
useSafeArea: true, useSafeArea: true,
isScrollControlled: 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( child: Padding(
padding: padding, padding: padding,
child: Text.rich( child: Text.rich(