1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

update icon when vault is locked/unlocked

This commit is contained in:
Kyle Spearrin
2016-10-25 23:17:46 -04:00
parent 124ac06419
commit e4c5ab88fb
6 changed files with 31 additions and 23 deletions

View File

@@ -32,6 +32,7 @@
cryptoService.getKeyHash(true, function (storedKeyHash) {
if (storedKeyHash && keyHash && storedKeyHash === keyHash) {
cryptoService.setKey(key, function () {
chrome.runtime.sendMessage({ command: 'unlocked' });
$state.go('tabs.current');
});
}