1
0
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:
Kyle Spearrin 2018-01-19 11:52:05 -05:00
parent 8795edad82
commit 755bac0989

View File

@ -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() {