We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08492b5 commit 626ee7aCopy full SHA for 626ee7a
scripts/background.js
@@ -16,7 +16,7 @@ browser.notifications.onShown.addListener(() => {
16
//TODO open latest comment?
17
18
const updateBadge = async (count) => {
19
- const { disableBadge = false } = browser.storage.local.get('disableBadge');
+ const { disableBadge = false } = await browser.storage.local.get('disableBadge');
20
let text = MISSING_AUTH;
21
if(count !== undefined) {
22
if(disableBadge) {
0 commit comments