Fix NotificationBadge unsent color (#9522)
This commit is contained in:
parent
d92fdc1f5b
commit
9b644844da
2 changed files with 39 additions and 1 deletions
|
@ -51,7 +51,7 @@ export function StatelessNotificationBadge({
|
|||
const classes = classNames({
|
||||
'mx_NotificationBadge': true,
|
||||
'mx_NotificationBadge_visible': isEmptyBadge ? true : hasUnreadCount,
|
||||
'mx_NotificationBadge_highlighted': color === NotificationColor.Red,
|
||||
'mx_NotificationBadge_highlighted': color >= NotificationColor.Red,
|
||||
'mx_NotificationBadge_dot': isEmptyBadge,
|
||||
'mx_NotificationBadge_2char': symbol?.length > 0 && symbol?.length < 3,
|
||||
'mx_NotificationBadge_3char': symbol?.length > 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue