show 'NEW' icon badge for major upgrades

This commit is contained in:
groovecoder
2017-05-11 11:45:39 -05:00
parent 8f80b527f5
commit 4a48a7debb
5 changed files with 18 additions and 2 deletions
+4
View File
@@ -64,6 +64,10 @@ const Logic = {
_panels: {},
init() {
// Remove browserAction "upgraded" badge when opening panel
browser.browserAction.setBadgeBackgroundColor({color: ""});
browser.browserAction.setBadgeText({text: ""});
// Retrieve the list of identities.
this.refreshIdentities()