setUrlsFromStorage in init
This commit is contained in:
parent
e18f76d2b0
commit
14ecc534e0
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit cfad521ea8ef205abe774907d8f7a243b3adaf10
|
||||
Subproject commit 4dea46f1addd949e4f564f8d0fe8039ccc66a655
|
|
@ -108,12 +108,10 @@ const auditService = new AuditService(cryptoFunctionService);
|
|||
const analytics = new Analytics(window, () => platformUtilsService.isDev(),
|
||||
platformUtilsService, storageService, appIdService);
|
||||
containerService.attachToWindow(window);
|
||||
environmentService.setUrlsFromStorage().then(() => {
|
||||
return syncService.fullSync(true);
|
||||
});
|
||||
|
||||
export function initFactory(): Function {
|
||||
return async () => {
|
||||
await environmentService.setUrlsFromStorage();
|
||||
lockService.init(true);
|
||||
const locale = await storageService.get<string>(ConstantsService.localeKey);
|
||||
await i18nService.init(locale);
|
||||
|
|
Loading…
Reference in New Issue