mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Don't start i18n service if in private mode
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user