Skip to content

Commit

Permalink
Switch to browserAction wrapper for Manifest V3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Feb 25, 2024
1 parent 65db1b7 commit 4e045a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keepassxc-browser/background/browserAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4e045a0

Please sign in to comment.