Skip to content

Commit

Permalink
detect new Vivaldi for favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
tophf committed Jul 2, 2024
1 parent 40fd683 commit 95a3e6d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ addAPI(/** @namespace API */ {

info: {
async get() {
let tab;
return {
isDark: colorScheme.isDark(),
isVivaldi: isVivaldi != null ? isVivaldi
: ((tab = (this.sender || {}).tab))
? !!(tab.extData || tab.vivExtData)
: await detectVivaldi(),
isVivaldi: isVivaldi != null ? isVivaldi : await detectVivaldi(),
};
},
set(info) {
Expand Down

0 comments on commit 95a3e6d

Please sign in to comment.