Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Updated modal
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyraging committed Jun 15, 2023
1 parent 56681f7 commit a05509c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/assets/background.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/constants/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ chrome.runtime.onInstalled.addListener(async (details) => {
// chrome.tabs.reload(tab.id);
// });
// });
chrome.storage.sync.set({ presentModal: false }).catch(() => { console.log('[STORAGE] Could not set storage item') });
// chrome.action.setBadgeBackgroundColor({ color: '#ed5a64' });
// chrome.action.setBadgeText({ text: '1' });
chrome.storage.sync.set({ presentModal: true }).catch(() => { console.log('[STORAGE] Could not set storage item') });
chrome.action.setBadgeBackgroundColor({ color: '#ed5a64' });
chrome.action.setBadgeText({ text: '1' });
}
});

Expand Down

0 comments on commit a05509c

Please sign in to comment.