diff --git a/app/src/main.ts b/app/src/main.ts index b0bb0ce..2c46894 100644 --- a/app/src/main.ts +++ b/app/src/main.ts @@ -169,7 +169,7 @@ if (appArgs.lang) { let currentBadgeCount = 0; const setDockBadge = isOSX() ? (count?: number | string, bounce = false): void => { - if (count) { + if (count !== undefined) { app.dock.setBadge(count.toString()); if (bounce && count > currentBadgeCount) app.dock.bounce(); currentBadgeCount = typeof count === 'number' ? count : 0;