fix: add reply

This commit is contained in:
bggRGjQaUbCoE
2024-10-01 10:35:45 +08:00
parent eec69e1c18
commit 793f1a340f

View File

@@ -164,7 +164,7 @@ abstract class ReplyController extends CommonController {
List list = loadingState.value is Success
? (loadingState.value as Success).response
: [];
if (index == 0) {
if (oid != null) {
list.insert(0, value['data']);
} else {
list[index].replies.add(value['data']);