mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
update jslib, sync on unlock reconnect
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 3d02a1ecb8...2dc77b6143
@@ -145,7 +145,7 @@ export default class MainBackground {
|
||||
this.cryptoService, this.platformUtilsService, this.storageService, this.messagingService,
|
||||
this.searchService, async () => {
|
||||
if (this.notificationsService != null) {
|
||||
this.notificationsService.updateConnection();
|
||||
this.notificationsService.updateConnection(false);
|
||||
}
|
||||
await this.setIcon();
|
||||
await this.refreshBadgeAndMenu(true);
|
||||
@@ -281,7 +281,7 @@ export default class MainBackground {
|
||||
|
||||
await this.setIcon();
|
||||
await this.refreshBadgeAndMenu();
|
||||
this.notificationsService.updateConnection();
|
||||
this.notificationsService.updateConnection(false);
|
||||
}
|
||||
|
||||
collectPageDetailsForContentScript(tab: any, sender: string, frameId: number = null) {
|
||||
|
||||
@@ -84,7 +84,7 @@ export default class RuntimeBackground {
|
||||
case 'locked':
|
||||
await this.main.setIcon();
|
||||
await this.main.refreshBadgeAndMenu(msg.command === 'locked');
|
||||
this.notificationsService.updateConnection();
|
||||
this.notificationsService.updateConnection(msg.command === 'unlocked');
|
||||
break;
|
||||
case 'logout':
|
||||
await this.main.logout(msg.expired);
|
||||
|
||||
Reference in New Issue
Block a user