mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-04-26 07:11:04 -07:00
Fix insignificant number of arguments bug on Windows (#108)
This commit is contained in:
parent
e55f3f8e8c
commit
7f82e2018e
1 changed files with 2 additions and 2 deletions
|
|
@ -294,10 +294,10 @@ const addView = (browserWindow, workspace) => {
|
|||
if (count > 0) {
|
||||
browserWindow.setOverlayIcon(
|
||||
path.resolve(__dirname, '..', 'overlay-icon.png'),
|
||||
'You have new notifications',
|
||||
`You have ${count} new messages.`,
|
||||
);
|
||||
} else {
|
||||
browserWindow.setOverlayIcon(null);
|
||||
browserWindow.setOverlayIcon(null, '');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue