mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
delay final bootstrap steps to make sure all init
This commit is contained in:
@@ -176,10 +176,16 @@ export default class MainBackground {
|
|||||||
await this.windowsBackground.init();
|
await this.windowsBackground.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.environmentService.setUrlsFromStorage();
|
return new Promise((resolve) => {
|
||||||
await this.setIcon();
|
setTimeout(async () => {
|
||||||
this.cleanupLoginsToAdd();
|
await this.environmentService.setUrlsFromStorage();
|
||||||
await this.fullSync(true);
|
await this.setIcon();
|
||||||
|
this.cleanupLoginsToAdd();
|
||||||
|
await this.fullSync(true);
|
||||||
|
|
||||||
|
resolve();
|
||||||
|
}, 500);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async setIcon() {
|
async setIcon() {
|
||||||
|
|||||||
Reference in New Issue
Block a user