mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-24 01:58:36 +00:00
opt: common ctr
opt: state Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -79,7 +79,7 @@ class FavDetailController
|
||||
@override
|
||||
Future<LoadingState<FavDetailData>> customGetData() =>
|
||||
UserHttp.userFavFolderDetail(
|
||||
pn: currentPage,
|
||||
pn: page,
|
||||
ps: 20,
|
||||
mediaId: mediaId,
|
||||
);
|
||||
@@ -120,7 +120,7 @@ class FavDetailController
|
||||
item.value.mediaCount = item.value.mediaCount! - list.length;
|
||||
item.refresh();
|
||||
if (remainList.isNotEmpty) {
|
||||
loadingState.value = LoadingState.success(remainList);
|
||||
loadingState.value = Success(remainList);
|
||||
} else {
|
||||
onReload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user