feat: save reply (#629)

Closes #614

opt: more panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
dom
2025-04-07 09:22:33 +08:00
committed by GitHub
parent d3cec0ec72
commit 8719c8f639
13 changed files with 926 additions and 450 deletions

View File

@@ -67,10 +67,8 @@ class VideoReplyReplyController extends ReplyController
firstFloor = replies.root;
}
if (id != null) {
index = replies.root.replies
.map((item) => item.id.toInt())
.toList()
.indexOf(id!);
index =
replies.root.replies.indexWhere((item) => item.id.toInt() == id);
if (index == -1) {
index = null;
} else {