mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
app.setBadgeCount should return boolean
This commit is contained in:
@@ -582,7 +582,7 @@ This method can only be called before app is ready.
|
||||
* `count` Integer
|
||||
|
||||
Sets the counter badge for current app. Setting the count to `0` will hide the
|
||||
badge.
|
||||
badge. Returns `true` when the call succeeded, otherwise returns `false`.
|
||||
|
||||
On macOS it shows on the dock icon. On Linux it only works for Unity launcher,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user