1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

dont await void methods

This commit is contained in:
Kyle Spearrin
2018-10-04 12:05:32 -04:00
parent c53b690097
commit a19f53eca9
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: 6b3dc2344f...1f36c5fee6

View File

@@ -126,7 +126,7 @@ export function initFactory(): Function {
lockService.init(true);
const locale = await storageService.get<string>(ConstantsService.localeKey);
await i18nService.init(locale);
await authService.init();
authService.init();
setTimeout(() => notificationsService.init(environmentService), 3000);
const htmlEl = window.document.documentElement;
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());