opt load saved reply

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-14 20:32:25 +08:00
parent 470e519a2b
commit af150118a1

View File

@@ -37,10 +37,9 @@ class _MyReplyState extends State<MyReply> with DynMixin {
}
void _initReply() {
_replies.assignAll(
GStorage.reply!.values.map(ReplyInfo.fromBuffer).toList()
..sort((a, b) => b.ctime.compareTo(a.ctime)), // rpid not aligned
);
_replies
..assignAll(GStorage.reply!.values.map(ReplyInfo.fromBuffer))
..sort((a, b) => b.ctime.compareTo(a.ctime)); // rpid not aligned;
}
@override