Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
background: update browser action titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Sep 10, 2019
1 parent ac12da0 commit 355c7d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/background/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ chrome.runtime.onConnect.addListener(port => {

delete ports[tabId];

chrome.browserAction.setTitle({ tabId, title: "Enable Mattermost Uno" });
chrome.browserAction.setTitle({ tabId, title: "Mattermost Uno is disabled on this site." });
chrome.browserAction.setIcon({ tabId, path: "icons/icon-32x32-bw.png" });
});

Expand All @@ -23,7 +23,7 @@ chrome.runtime.onConnect.addListener(port => {

switch (message.value) {
case CHANNEL_MESSAGE.CONTENT_IS_MATTERMOST:
chrome.browserAction.setTitle({ tabId, title: "Disable Mattermost Uno" });
chrome.browserAction.setTitle({ tabId, title: "Mattermost Uno is running on this site." });
chrome.browserAction.setIcon({ tabId, path: "icons/icon-32x32.png" });
break;

Expand Down

0 comments on commit 355c7d9

Please sign in to comment.