From 0034d880f99bc62fd42f4a6f09d15ef949ed0f6b Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Wed, 3 Apr 2024 17:23:00 +0530 Subject: [PATCH] Initialize Configuration before Network --- mobile/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index 49dbc01b1..97338f55f 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -189,8 +189,8 @@ Future _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);