mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 使用PageView替换IndexedStack
This commit is contained in:
@@ -11,12 +11,6 @@ class HotController extends GetxController {
|
||||
bool isLoadingMore = false;
|
||||
bool flag = false;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
queryHotFeed('init');
|
||||
}
|
||||
|
||||
// 获取推荐
|
||||
Future queryHotFeed(type) async {
|
||||
var res = await VideoHttp.hotVideoList(
|
||||
@@ -34,6 +28,7 @@ class HotController extends GetxController {
|
||||
_currentPage += 1;
|
||||
}
|
||||
isLoadingMore = false;
|
||||
return res;
|
||||
}
|
||||
|
||||
// 下拉刷新
|
||||
|
||||
Reference in New Issue
Block a user