Index: lib/icon.js |
diff --git a/lib/icon.js b/lib/icon.js |
index 0d4fae007eb8ae645a9afd564d0e7254f9c73549..621f374eeb9f9c247c8e8d45699ad4632e7319db 100644 |
--- a/lib/icon.js |
+++ b/lib/icon.js |
@@ -25,7 +25,6 @@ const frameOpacities = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, |
1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, |
0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0.0]; |
const numberOfFrames = frameOpacities.length; |
-const safariPlatform = require("info").platform == "safari"; |
let stopRequested = false; |
let canUpdateIcon = true; |
@@ -52,7 +51,7 @@ function loadImage(url) |
function setIcon(page, notificationType, opacity, frames) |
{ |
opacity = opacity || 0; |
- let whitelisted = !!whitelistedState.get(page) && !safariPlatform; |
+ let whitelisted = !!whitelistedState.get(page); |
if (!notificationType || !frames) |
{ |
@@ -81,9 +80,6 @@ FilterNotifier.on("page.WhitelistingStateRevalidate", (page, filter) => |
function renderFrames(notificationType) |
{ |
- if (safariPlatform) |
- return Promise.resolve(null); |
- |
return Promise.all([ |
loadImage("icons/abp-16.png"), |
loadImage("icons/abp-16-whitelisted.png"), |