mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: refresh
related #306 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -291,7 +291,7 @@ class ArticlePanelController extends GetxController {
|
||||
tag: 'article${searchPanelCtr.keyword}');
|
||||
ctr.order.value = item['order'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentOrderFilterval.value
|
||||
@@ -324,7 +324,7 @@ class ArticlePanelController extends GetxController {
|
||||
tag: 'article${searchPanelCtr.keyword}');
|
||||
ctr.categoryId = item['categoryId'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentZoneFilterval.value
|
||||
|
||||
@@ -217,7 +217,7 @@ class UserPanelController extends GetxController {
|
||||
ctr.orderSort = item['orderSort'];
|
||||
ctr.order.value = item['order'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentOrderFilterval.value
|
||||
@@ -250,7 +250,7 @@ class UserPanelController extends GetxController {
|
||||
tag: 'bili_user${searchPanelCtr.keyword}');
|
||||
ctr.userType = item['userType'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentUserTypeFilterval.value
|
||||
|
||||
@@ -51,7 +51,7 @@ Widget searchVideoPanel(context, ctr, LoadingState loadingState) {
|
||||
ctr.order.value =
|
||||
i['type'].toString().split('.').last;
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
),
|
||||
@@ -257,7 +257,7 @@ class VideoPanelController extends GetxController {
|
||||
1000;
|
||||
setState(() {});
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
}
|
||||
});
|
||||
@@ -334,7 +334,7 @@ class VideoPanelController extends GetxController {
|
||||
1000;
|
||||
}
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentPubTimeFilterval
|
||||
@@ -384,7 +384,7 @@ class VideoPanelController extends GetxController {
|
||||
tag: 'video${searchPanelCtr.keyword}');
|
||||
ctr.duration.value = item['value'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentTimeFilterval
|
||||
@@ -421,7 +421,7 @@ class VideoPanelController extends GetxController {
|
||||
tag: 'video${searchPanelCtr.keyword}');
|
||||
ctr.tids = item['tids'];
|
||||
SmartDialog.showLoading(msg: 'loading');
|
||||
await ctr.onRefresh();
|
||||
await ctr.onReload();
|
||||
SmartDialog.dismiss();
|
||||
},
|
||||
bgColor: item['value'] == currentZoneFilterval
|
||||
|
||||
Reference in New Issue
Block a user