mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
separated BrowserUtils from generic Utils
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import UtilsService from './utils.service';
|
||||
import BrowserUtilsService from './browserUtils.service';
|
||||
|
||||
export default class ConstantsService {
|
||||
static readonly environmentUrlsKey: string = 'environmentUrls';
|
||||
@@ -57,8 +57,8 @@ export default class ConstantsService {
|
||||
|
||||
twoFactorProviderInfo: any[];
|
||||
|
||||
constructor(i18nService: any, utilsService: UtilsService) {
|
||||
if (utilsService.isEdge()) {
|
||||
constructor(i18nService: any, browserUtilsService: BrowserUtilsService) {
|
||||
if (browserUtilsService.isEdge()) {
|
||||
// delay for i18n fetch
|
||||
setTimeout(() => {
|
||||
this.bootstrap(i18nService);
|
||||
|
||||
Reference in New Issue
Block a user