feat: change icon to show indicator when new messages appear

This commit is contained in:
Jonathan Rainville 2021-01-11 14:13:38 -05:00 committed by Iuri Matias
parent 317a183b8b
commit 5a108f9f41
2 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ ApplicationWindow {
SystemTrayIcon { SystemTrayIcon {
id: systemTray id: systemTray
visible: true visible: true
icon.source: "shared/img/status-logo.png" icon.source: chatsModel.unreadMessagesCount > 0 ? "shared/img/status-logo-new.png" : "shared/img/status-logo.png"
menu: Menu { menu: Menu {
MenuItem { MenuItem {
//% "Quit" //% "Quit"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB