π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: indicate android functions in separate block
Prateek Sunal55aa8d73f0e7
diff --git a/mobile/lib/main.dart b/mobile/lib/main.dartindex ab9e9fafaf..1a68dc0338 100644--- a/mobile/lib/main.dart+++ b/mobile/lib/main.dart@@ -190,16 +190,11 @@ Future<void> _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<void> _init(bool isBackground, {String via = ''}) async {