badge: show mentions instead of unreads
This commit is contained in:
parent
05c15e9384
commit
9521c65cea
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export async function setTrayIcon(iconName: string) {
|
|||
if (!Icons.has(iconName)) return;
|
||||
|
||||
// if need to set main icon then check whether there is need of notif badge
|
||||
if (iconName === "icon" && lastBadgeCount === -1) {
|
||||
if (iconName === "icon" && lastBadgeCount > 0) {
|
||||
var trayImage: NativeImage;
|
||||
if (isCustomIcon("icon")) {
|
||||
trayImage = nativeImage.createFromPath(join(ICONS_DIR, "icon_custom.png"));
|
||||
|
|
Loading…
Reference in a new issue