mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-19 20:51:35 +01:00
Merge pull request #1918 from bitwarden/fix-private-browsing
Don't start i18n service if in private mode
This commit is contained in:
commit
af1540267f
@ -181,7 +181,7 @@ export function initFactory(platformUtilsService: PlatformUtilsService, i18nServ
|
||||
},
|
||||
{
|
||||
provide: LOCALE_ID,
|
||||
useFactory: () => getBgService<I18nService>('i18nService')().translationLocale,
|
||||
useFactory: () => isPrivateMode ? null : getBgService<I18nService>('i18nService')().translationLocale,
|
||||
deps: [],
|
||||
},
|
||||
{ provide: PasswordRepromptServiceAbstraction, useValue: passwordRepromptService },
|
||||
|
Loading…
Reference in New Issue
Block a user