This commit is contained in:
lollipopkit
2023-12-11 11:13:49 +08:00
parent 73752bffc3
commit ce9929e93f
6 changed files with 23 additions and 10 deletions

View File

@@ -90,10 +90,10 @@ class _ServerPageState extends State<ServerPage>
);
// Desktop doesn't support pull to refresh
if (isDesktop) {
return child;
}
if (isDesktop) return child;
return RefreshIndicator(
key: ServerProvider.refreshKey,
onRefresh: () async => await Pros.server.refreshData(onlyFailed: true),
child: child,
);