Skip to content

Commit

Permalink
Don't override badge color for Firefox, it looks fine
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrews54757 committed Nov 6, 2023
1 parent f023e2e commit ccc94c8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions chrome/background/background.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {PlayerModes} from '../player/enums/PlayerModes.mjs';
import {EnvUtils} from '../player/utils/EnvUtils.mjs';
import {StringUtils} from '../player/utils/StringUtils.mjs';
import {URLUtils} from '../player/utils/URLUtils.mjs';
import {Utils} from '../player/utils/Utils.mjs';
Expand Down Expand Up @@ -803,12 +804,12 @@ try {
console.error(e);
}


chrome.action.setBadgeBackgroundColor(
{
color: [56, 114, 223, 255],
},
);

if (EnvUtils.isChrome()) {
chrome.action.setBadgeBackgroundColor(
{
color: [56, 114, 223, 255],
},
);
}

console.log('\n %c %c %cFast%cStream %c-%c ' + ExtensionVersion + ' %c By Andrews54757 \n', 'background: url(https://user-images.githubusercontent.com/13282284/57593160-3a4fb080-7508-11e9-9507-33d45c4f9e41.png) no-repeat; background-size: 16px 16px; padding: 2px 6px; margin-right: 4px', 'background: rgb(50,50,50); padding:5px 0;', 'color: rgb(200,200,200); background: rgb(50,50,50); padding:5px 0;', 'color: rgb(200,200,200); background: rgb(50,50,50); padding:5px 0;', 'color: rgb(200,200,200); background: rgb(50,50,50); padding:5px 0;', 'color: #afbc2a; background: rgb(50,50,50); padding:5px 0;', 'color: black; background: #e9e9e9; padding:5px 0;');

0 comments on commit ccc94c8

Please sign in to comment.