mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user