mirror of https://github.com/zlatinb/muwire
make sure taskbar supports text badges
parent
039ea5269e
commit
7aee7e282a
|
@ -106,7 +106,7 @@ class ChatNotificator {
|
|||
}
|
||||
|
||||
def taskBar = Taskbar.getTaskbar()
|
||||
if (taskBar.isSupported(Feature.ICON_BADGE_NUMBER)) {
|
||||
if (taskBar.isSupported(Feature.ICON_BADGE_NUMBER) && taskBar.isSupported(Feature.ICON_BADGE_TEXT)) {
|
||||
if (total == 0)
|
||||
taskBar.setIconBadge("")
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue