mod: refresh

related #306

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-24 17:10:40 +08:00
parent d9ae1dd97a
commit 7f912a1781
13 changed files with 22 additions and 32 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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