Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-18 22:13:06 +08:00
parent 41245d5256
commit 30a8b4d25c
13 changed files with 38 additions and 68 deletions

View File

@@ -26,15 +26,10 @@ class FavSearchController
@override
List<FavDetailItemModel>? getDataList(FavDetailData response) {
return response.medias;
}
@override
bool customHandleResponse(bool isRefresh, Success<FavDetailData> response) {
if (response.response.hasMore == false) {
if (response.hasMore == false) {
isEnd = true;
}
return false;
return response.medias;
}
Future<void> onCancelFav(int index, int id, int? type) async {