mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Do not use deprecated method (#3155)
This commit is contained in:
@@ -377,7 +377,7 @@ export class Main {
|
||||
private async init() {
|
||||
await this.storageService.init();
|
||||
await this.stateService.init();
|
||||
this.containerService.attachToWindow(global);
|
||||
this.containerService.attachToGlobal(global);
|
||||
await this.environmentService.setUrlsFromStorage();
|
||||
const locale = await this.stateService.getLocale();
|
||||
await this.i18nService.init(locale);
|
||||
|
||||
Reference in New Issue
Block a user