Skip to content

Commit

Permalink
Fixed formatting of discord recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
vraravam committed Nov 19, 2023
1 parent bfcdf6b commit f8e5512
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/discord/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ module.exports = (Ferdium, settings) => {
directCount += Ferdium.safeParseInt(directCountBadge.textContent);
}

const indirectCountPerServer = document.title.search('• Discord') === -1 ? 0 : 1;
const indirectCountPerServer =
document.title.search('• Discord') === -1 ? 0 : 1;

Ferdium.setBadge(directCount, indirectCountPerServer);
};
Expand Down

0 comments on commit f8e5512

Please sign in to comment.