mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: reply2reply
This commit is contained in:
@@ -53,7 +53,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
onTap: () {
|
||||
feedBack();
|
||||
if (replyReply != null) {
|
||||
replyReply!(replyItem);
|
||||
replyReply!(replyItem, null);
|
||||
}
|
||||
},
|
||||
onLongPress: () {
|
||||
@@ -442,7 +442,8 @@ class ReplyItemRow extends StatelessWidget {
|
||||
for (int i = 0; i < replies.length; i++) ...[
|
||||
InkWell(
|
||||
// 一楼点击评论展开评论详情
|
||||
onTap: () => replyReply!(replyItem),
|
||||
onTap: () =>
|
||||
replyReply?.call(replyItem, replies[i].id.toInt()),
|
||||
onLongPress: () {
|
||||
feedBack();
|
||||
showModalBottomSheet(
|
||||
@@ -543,7 +544,7 @@ class ReplyItemRow extends StatelessWidget {
|
||||
if (extraRow)
|
||||
InkWell(
|
||||
// 一楼点击【共xx条回复】展开评论详情
|
||||
onTap: () => replyReply!(replyItem),
|
||||
onTap: () => replyReply!(replyItem, null),
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
padding: const EdgeInsets.fromLTRB(8, 5, 8, 8),
|
||||
|
||||
Reference in New Issue
Block a user