diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index ab9e9fafaf..1a68dc0338 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -190,16 +190,11 @@ Future _runMinimally(String taskId) async { if (Platform.isAndroid) HomeWidgetService.instance.init(prefs); // Begin Execution - await Future.wait( - [ - // only runs for android - _homeWidgetSync(true), - () async { - updateService.showUpdateNotification().ignore(); - await _sync('bgTaskActiveProcess'); - }(), - ], - ); + // only runs for android + updateService.showUpdateNotification().ignore(); + await _sync('bgTaskActiveProcess'); + // only runs for android + await _homeWidgetSync(true); } Future _init(bool isBackground, {String via = ''}) async {