Fix icon logic

This commit is contained in:
Tim "timmyRS" Speckhals 2019-10-16 14:28:23 +02:00
parent 979107ad3e
commit da17c498ad
2 changed files with 0 additions and 3 deletions

View File

@ -80,7 +80,6 @@ brws.storage.sync.get(["disable","navigation_delay","no_tracker_bypass","no_inst
if(!enabled)
{
brws.browserAction.setIcon({path: {
"40": "icon_disabled/40.png",
"48": "icon_disabled/48.png",
"128": "icon_disabled/128.png",
"150": "icon_disabled/150.png",
@ -130,7 +129,6 @@ brws.storage.onChanged.addListener(changes=>{
if(enabled)
{
brws.browserAction.setIcon({path: {
"40": "icon/40.png",
"48": "icon/48.png",
"128": "icon/128.png",
"150": "icon/150.png",
@ -141,7 +139,6 @@ brws.storage.onChanged.addListener(changes=>{
else
{
brws.browserAction.setIcon({path: {
"40": "icon_disabled/40.png",
"48": "icon_disabled/48.png",
"128": "icon_disabled/128.png",
"150": "icon_disabled/150.png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB