Skip to content

Commit

Permalink
liniting probably
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur-Huan authored and vraravam committed Oct 4, 2024
1 parent 81d9621 commit d344c49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/messenger/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ module.exports = (Ferdium, settings) => {
true,
);

if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
if (
window.matchMedia &&
window.matchMedia('(prefers-color-scheme: dark)').matches
) {
Ferdium.injectCSS(_path.default.join(__dirname, 'darkmode.css'));
}

};

0 comments on commit d344c49

Please sign in to comment.