fix: add reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-25 17:45:03 +08:00
parent e26ec2ea42
commit bae395c5d0
6 changed files with 18 additions and 6 deletions

View File

@@ -187,7 +187,11 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
feedBack();
dynamic oid = _videoReplyController.aid ??
IdUtils.bv2av(Get.parameters['bvid']!);
_videoReplyController.onReply(context, oid: oid);
_videoReplyController.onReply(
context,
oid: oid,
replyType: ReplyType.video,
);
},
tooltip: '发表评论',
child: const Icon(Icons.reply),

View File

@@ -251,7 +251,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
oid: oid,
root: root,
parent: parent,
replyType: ReplyType.video,
replyType: widget.replyType,
replyItem: item,
savedReply: _savedReplies[key],
onSaveReply: (reply) {