mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
fix: add reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -163,7 +163,7 @@ abstract class ReplyController extends CommonController {
|
|||||||
MainListReply response =
|
MainListReply response =
|
||||||
(loadingState.value as Success?)?.response ?? MainListReply();
|
(loadingState.value as Success?)?.response ?? MainListReply();
|
||||||
if (oid != null) {
|
if (oid != null) {
|
||||||
response.replies.insert(0, replyInfo);
|
response.replies.insert(hasUpTop ? 1 : 0, replyInfo);
|
||||||
} else {
|
} else {
|
||||||
response.replies[index].replies.add(replyInfo);
|
response.replies[index].replies.add(replyInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user