mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: live follow list
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -62,14 +62,14 @@ class LiveController
|
|||||||
followEnd = true;
|
followEnd = true;
|
||||||
}
|
}
|
||||||
followListState.value = LoadingState.success(dataList);
|
followListState.value = LoadingState.success(dataList);
|
||||||
} else if (loadingState.value is Success) {
|
} else if (followListState.value is Success) {
|
||||||
List<LiveFollowingItemModel> list =
|
List<LiveFollowingItemModel> list =
|
||||||
(loadingState.value as Success).response;
|
(followListState.value as Success).response;
|
||||||
list.addAll(dataList!);
|
list.addAll(dataList!);
|
||||||
if (list.length >= liveCount.value) {
|
if (list.length >= liveCount.value) {
|
||||||
followEnd = true;
|
followEnd = true;
|
||||||
}
|
}
|
||||||
loadingState.refresh();
|
followListState.refresh();
|
||||||
}
|
}
|
||||||
followPage++;
|
followPage++;
|
||||||
} else if (isRefresh) {
|
} else if (isRefresh) {
|
||||||
|
|||||||
Reference in New Issue
Block a user