From ef98415f5da1df75ae6973ad9c4cf6ad94ef5af1 Mon Sep 17 00:00:00 2001 From: V Date: Wed, 25 Oct 2023 00:25:04 +0200 Subject: [PATCH] Discard changes to src/main/appBadge.ts --- src/main/appBadge.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/appBadge.ts b/src/main/appBadge.ts index c56371b..46abe1d 100644 --- a/src/main/appBadge.ts +++ b/src/main/appBadge.ts @@ -24,8 +24,7 @@ let lastIndex: null | number = -1; export function setBadgeCount(count: number) { switch (process.platform) { case "linux": - // used to be if (count === -1) - if (count < 0) count = 0; + if (count === -1) count = 0; app.setBadgeCount(count); break; case "darwin":