Discard changes to src/main/appBadge.ts
This commit is contained in:
parent
6e369b62be
commit
ef98415f5d
1 changed files with 1 additions and 2 deletions
|
@ -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":
|
||||
|
|
Reference in a new issue