mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
dont await void methods
This commit is contained in:
parent
c53b690097
commit
a19f53eca9
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 6b3dc2344f2db167cbc404d83fa4602a1ca93ef8
|
Subproject commit 1f36c5fee6a294f455de8c10c3d7316f708ec214
|
@ -126,7 +126,7 @@ export function initFactory(): Function {
|
|||||||
lockService.init(true);
|
lockService.init(true);
|
||||||
const locale = await storageService.get<string>(ConstantsService.localeKey);
|
const locale = await storageService.get<string>(ConstantsService.localeKey);
|
||||||
await i18nService.init(locale);
|
await i18nService.init(locale);
|
||||||
await authService.init();
|
authService.init();
|
||||||
setTimeout(() => notificationsService.init(environmentService), 3000);
|
setTimeout(() => notificationsService.init(environmentService), 3000);
|
||||||
const htmlEl = window.document.documentElement;
|
const htmlEl = window.document.documentElement;
|
||||||
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());
|
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());
|
||||||
|
Loading…
Reference in New Issue
Block a user