opt: delete reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-11 14:54:31 +08:00
parent f9b4f587c2
commit 0b57cd3555

View File

@@ -453,9 +453,7 @@ class _VideoReplyReplyPanelState
_onReply(replyItem, index);
},
onDelete: (subIndex) {
_videoReplyReplyController.loadingState.value.data!.removeAt(index);
_videoReplyReplyController.count.value -= 1;
_videoReplyReplyController.loadingState.refresh();
_videoReplyReplyController.onRemove(index, null);
},
upMid: _videoReplyReplyController.upMid,
showDialogue: () {