Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Initialize Configuration before Network

vishnukvmd0034d880f99b
diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart
index 49dbc01b11..97338f55f9 100644
--- a/mobile/lib/main.dart
+++ b/mobile/lib/main.dart
@@ -189,8 +189,8 @@ Future<void> _init(bool isBackground, {String via = ''}) async {
// Start workers asynchronously. No need to wait for them to start
Computer.shared().turnOn(workersCount: 4).ignore();
CryptoUtil.init();
- await NetworkClient.instance.init();
await Configuration.instance.init();
+ await NetworkClient.instance.init();
await UserService.instance.init();
await EntityService.instance.init();
LocationService.instance.init(preferences);