revert: 评论详情优先展示二级评论

This commit is contained in:
guozhigq
2024-04-28 07:39:55 +08:00
parent 994ee6a972
commit 148f4a680d
6 changed files with 13 additions and 34 deletions

View File

@ -110,7 +110,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
}
// 展示二级回复
void replyReply(replyItem, currentReply) {
void replyReply(replyItem) {
final VideoDetailController videoDetailCtr =
Get.find<VideoDetailController>(tag: heroTag);
if (replyItem != null) {
@ -118,7 +118,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
videoDetailCtr.fRpid = replyItem.rpid!;
videoDetailCtr.firstFloor = replyItem;
videoDetailCtr.showReplyReplyPanel(
replyItem.oid, replyItem.rpid!, replyItem, currentReply);
replyItem.oid, replyItem.rpid!, replyItem);
}
}
@ -229,8 +229,8 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
.replyList[index],
showReplyRow: true,
replyLevel: replyLevel,
replyReply: (replyItem, currentReply) =>
replyReply(replyItem, currentReply),
replyReply: (replyItem) =>
replyReply(replyItem),
replyType: ReplyType.video,
);
}