Use different colors for unread/mentioned in windows task bar. Like we do for tray icons.

This commit is contained in:
Kolja Lampe
2016-05-20 14:03:42 +02:00
committed by Kolja Lampe
parent 81bc16ca6e
commit 273bf35dbc
2 changed files with 5 additions and 4 deletions

View File

@@ -461,10 +461,10 @@ var showUnreadBadgeWindows = function(unreadCount, mentionCount) {
};
if (mentionCount > 0) {
const dataURL = badge.createDataURL(mentionCount.toString());
const dataURL = badge.createDataURL(mentionCount.toString(), "#FF1744"); // Material Red A400
sendBadge(dataURL, 'You have unread mention (' + mentionCount + ')');
} else if (unreadCount > 0) {
const dataURL = badge.createDataURL('•');
const dataURL = badge.createDataURL('•', "#00e5ff"); // Material Cyan A400
sendBadge(dataURL, 'You have unread channels');
} else {
sendBadge(null, 'You have no unread messages');