1
0
Fork 0
mirror of https://gitlab.com/nkming2/nc-photos.git synced 2025-03-09 16:58:55 +01:00

Fix init order

This commit is contained in:
Ming Ming 2024-08-02 01:39:24 +08:00
parent 60fd4bcbfd
commit da8af5db07

View file

@ -71,10 +71,10 @@ Future<void> init(InitIsolateType isolateType) async {
await _initPref(); await _initPref();
await _initAccountPrefs(); await _initAccountPrefs();
_initEquatable(); _initEquatable();
await initHttp(k.versionStr);
if (features.isSupportSelfSignedCert) { if (features.isSupportSelfSignedCert) {
await _initSelfSignedCertManager(); await _initSelfSignedCertManager();
} }
await initHttp(k.versionStr);
await _initDiContainer(isolateType); await _initDiContainer(isolateType);
_initVisibilityDetector(); _initVisibilityDetector();
initGpsMap(); initGpsMap();