chore: clean up

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-20 11:21:19 +08:00
parent ed60c274fc
commit 538494b7ec
90 changed files with 495 additions and 1816 deletions

View File

@@ -7,8 +7,6 @@ import 'package:get/get.dart';
class HotController
extends CommonListController<List<HotVideoItemModel>, HotVideoItemModel> {
// int idx = 0;
late RxBool showHotRcmd = GStorage.showHotRcmd.obs;
@override
@@ -17,24 +15,10 @@ class HotController
queryData();
}
// @override
// Future onRefresh() {
// idx = 0;
// return super.onRefresh();
// }
@override
Future<LoadingState<List<HotVideoItemModel>>> customGetData() =>
VideoHttp.hotVideoList(
pn: currentPage,
ps: 20,
);
// @override
// void handleSuccess(List currentList, List dataList) {
// idx = (dataList.last as Card?)?.smallCoverV5.base.idx.toInt() ?? 0;
// }
// @override
// Future<LoadingState> customGetData() => VideoHttp.hotVideoListGrpc(idx: idx);
}