Attempting to parallelize update checks

This commit is contained in:
Imran Remtulla
2023-10-06 19:23:18 -04:00
parent 7bfc5ae0a8
commit 21fdfc1eef
3 changed files with 115 additions and 86 deletions

View File

@@ -68,7 +68,7 @@ class AppsPageState extends State<AppsPage> {
refreshingSince = DateTime.now();
});
return appsProvider.checkUpdates().catchError((e) {
showError(e, context);
showError(e is Map ? e['errors'] : e, context);
return <App>[];
}).whenComplete(() {
setState(() {