fix: live follow list

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-11 18:42:57 +08:00
parent e8185535b0
commit 1eadcd41f6

View File

@@ -62,14 +62,14 @@ class LiveController
followEnd = true;
}
followListState.value = LoadingState.success(dataList);
} else if (loadingState.value is Success) {
} else if (followListState.value is Success) {
List<LiveFollowingItemModel> list =
(loadingState.value as Success).response;
(followListState.value as Success).response;
list.addAll(dataList!);
if (list.length >= liveCount.value) {
followEnd = true;
}
loadingState.refresh();
followListState.refresh();
}
followPage++;
} else if (isRefresh) {