mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +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.environmentService.setUrlsFromStorage();
|
||||
await this.setIcon();
|
||||
this.cleanupLoginsToAdd();
|
||||
await this.fullSync(true);
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(async () => {
|
||||
await this.environmentService.setUrlsFromStorage();
|
||||
await this.setIcon();
|
||||
this.cleanupLoginsToAdd();
|
||||
await this.fullSync(true);
|
||||
|
||||
resolve();
|
||||
}, 500);
|
||||
});
|
||||
}
|
||||
|
||||
async setIcon() {
|
||||
|
Loading…
Reference in New Issue
Block a user