mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Switch to browserAction wrapper for Manifest V3 compatibility
This commit is contained in:
parent
65db1b7a2f
commit
4e045a0d8c
1 changed files with 2 additions and 2 deletions
|
|
@ -71,8 +71,8 @@ browserAction.updateIcon = async function(tab, iconType) {
|
|||
};
|
||||
|
||||
browserAction.setBadgeText = function(tabId, badgeText) {
|
||||
browser.browserAction.setBadgeBackgroundColor({ color: '#666666' });
|
||||
browser.browserAction.setBadgeText({ text: badgeText, tabId: tabId });
|
||||
browserActionWrapper.setBadgeBackgroundColor({ color: '#666666' });
|
||||
browserActionWrapper.setBadgeText({ text: badgeText, tabId: tabId });
|
||||
};
|
||||
|
||||
browserAction.generateIconName = async function(iconType) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue