mirror of
https://github.com/bitwarden/browser
synced 2025-01-04 14:22:50 +01:00
delay final bootstrap steps to make sure all init
This commit is contained in:
parent
8795edad82
commit
755bac0989
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user