Improved badge descriptions
This commit is contained in:
@@ -462,10 +462,10 @@ var showUnreadBadgeWindows = function(unreadCount, mentionCount) {
|
||||
|
||||
if (mentionCount > 0) {
|
||||
const dataURL = badge.createDataURL(mentionCount.toString(), "#FF1744", "#580817"); // Material Red A400
|
||||
sendBadge(dataURL, 'You have unread mention (' + mentionCount + ')');
|
||||
sendBadge(dataURL, 'You have unread mentions (' + mentionCount + ')');
|
||||
} else if (unreadCount > 0) {
|
||||
const dataURL = badge.createDataURL('•', "#00e5ff", "#06545D"); // Material Cyan A400
|
||||
sendBadge(dataURL, 'You have unread channels');
|
||||
sendBadge(dataURL, 'You have unread channels (' + unreadCount + ')');
|
||||
} else {
|
||||
sendBadge(null, 'You have no unread messages');
|
||||
}
|
||||
|
Reference in New Issue
Block a user