app.setBadgeCount should return boolean
This commit is contained in:
parent
f8ec377123
commit
1da2a1c2ae
6 changed files with 24 additions and 11 deletions
|
@ -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,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue