mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Update overlay on account switch (#7217)
This commit is contained in:
@@ -854,6 +854,7 @@ export default class MainBackground {
|
|||||||
await this.stateService.setRememberedEmail(null);
|
await this.stateService.setRememberedEmail(null);
|
||||||
await this.refreshBadge();
|
await this.refreshBadge();
|
||||||
await this.refreshMenu();
|
await this.refreshMenu();
|
||||||
|
await this.overlayBackground.updateOverlayCiphers();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -873,6 +874,7 @@ export default class MainBackground {
|
|||||||
this.messagingService.send("unlocked", { userId: userId });
|
this.messagingService.send("unlocked", { userId: userId });
|
||||||
await this.refreshBadge();
|
await this.refreshBadge();
|
||||||
await this.refreshMenu();
|
await this.refreshMenu();
|
||||||
|
await this.overlayBackground.updateOverlayCiphers();
|
||||||
await this.syncService.fullSync(false);
|
await this.syncService.fullSync(false);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user