opt: keep member search page

fix: search arc

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-11 18:50:29 +08:00
parent 02dee71670
commit c517df2c09
3 changed files with 39 additions and 19 deletions

View File

@@ -151,9 +151,9 @@ class MemberSearchController extends GetxController
isEndArchive = true;
}
archiveState.value = LoadingState.success(vlist);
} else if (dynamicState.value is Success) {
} else if (archiveState.value is Success) {
List<VListItemModel> currentList =
(dynamicState.value as Success).response;
(archiveState.value as Success).response;
currentList.addAll(vlist!);
if (currentList.length >= archiveCount.value) {
isEndDynamic = true;