1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

private mode component

This commit is contained in:
Kyle Spearrin
2018-04-13 22:08:24 -04:00
parent 31ddb97530
commit 4308947893
9 changed files with 62 additions and 10 deletions

View File

@@ -73,10 +73,10 @@ export function initFactory(i18nService: I18nService, storageService: StorageSer
window.document.body.classList.add('body-sm');
}
stateService.save(ConstantsService.disableFaviconKey,
await storageService.get<boolean>(ConstantsService.disableFaviconKey));
if (BrowserApi.getBackgroundPage() != null) {
stateService.save(ConstantsService.disableFaviconKey,
await storageService.get<boolean>(ConstantsService.disableFaviconKey));
window.document.documentElement.classList.add('locale_' + i18nService.translationLocale);
authService.init();