mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1952 from keepassxreboot/fix/use_bang_icon_when_connection_is_needed
Use bang icon when connection is needed
This commit is contained in:
commit
4e84b90dff
3 changed files with 4 additions and 1 deletions
|
|
@ -30,6 +30,8 @@ browserAction.showDefault = async function(tab) {
|
|||
|
||||
if (!response && !keepass.isKeePassXCAvailable) {
|
||||
popupData.iconType = 'cross';
|
||||
} else if (!keepass.isAssociated() && !keepass.isDatabaseClosed) {
|
||||
popupData.iconType = 'bang';
|
||||
} else if (keepass.isKeePassXCAvailable && keepass.isDatabaseClosed) {
|
||||
popupData.iconType = 'locked';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ keepass.associate = async function(tab) {
|
|||
keepass.associated.value = true;
|
||||
keepass.associated.hash = response.hash || 0;
|
||||
|
||||
browserAction.show(tab);
|
||||
browserAction.showDefault(tab);
|
||||
return AssociatedAction.NEW_ASSOCIATION;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -380,6 +380,7 @@ options.initConnectedDatabases = function() {
|
|||
});
|
||||
|
||||
hideEmptyMessageRow();
|
||||
browser.runtime.sendMessage({ action: 'update_popup' });
|
||||
});
|
||||
|
||||
const removeButtonClicked = function(e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue