Initialize Configuration before Network

This commit is contained in:
vishnukvmd 2024-04-03 17:23:00 +05:30
parent 81bdc0fe73
commit 0034d880f9

View file

@ -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);