Darker red badge background to ensure text is kept white across browsers.

This commit is contained in:
hackademix 2018-10-26 01:36:11 +02:00
parent c1f359ddf4
commit 6860ee2a40
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ var RequestGuard = (() => {
let browserAction = browser.browserAction;
browserAction.setIcon({tabId, path: {64: `/img/ui-${icon}64.png`}});
browserAction.setBadgeText({tabId, text: showBadge ? numBlocked.toString() : ""});
browserAction.setBadgeBackgroundColor({tabId, color: [255, 0, 0, 128]});
browserAction.setBadgeBackgroundColor({tabId, color: [128, 0, 0, 160]});
browserAction.setTitle({tabId,
title: `${VERSION_LABEL} \n${enforced ?
_("BlockedItems", [numBlocked, numAllowed + numBlocked]) + ` \n${report}`