mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: add reply
This commit is contained in:
@@ -164,7 +164,7 @@ abstract class ReplyController extends CommonController {
|
|||||||
List list = loadingState.value is Success
|
List list = loadingState.value is Success
|
||||||
? (loadingState.value as Success).response
|
? (loadingState.value as Success).response
|
||||||
: [];
|
: [];
|
||||||
if (index == 0) {
|
if (oid != null) {
|
||||||
list.insert(0, value['data']);
|
list.insert(0, value['data']);
|
||||||
} else {
|
} else {
|
||||||
list[index].replies.add(value['data']);
|
list[index].replies.add(value['data']);
|
||||||
|
|||||||
Reference in New Issue
Block a user