1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

set badge for all windows when locked

This commit is contained in:
Kyle Spearrin
2018-03-03 22:48:38 -05:00
parent f952cd5642
commit 5ef72091db
3 changed files with 61 additions and 31 deletions

View File

@@ -77,7 +77,7 @@ export default class RuntimeBackground {
case 'unlocked':
case 'locked':
await this.main.setIcon();
await this.main.refreshBadgeAndMenu();
await this.main.refreshBadgeAndMenu(msg.command === 'locked');
break;
case 'logout':
await this.main.logout(msg.expired);