Merge pull request #4884 from matrix-org/t3chguy/room-lists/99
Fix bell icon mismatch on room tile between hover and context menu
This commit is contained in:
commit
08392d53f0
1 changed files with 3 additions and 2 deletions
|
@ -287,8 +287,9 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
|
||||||
|
|
||||||
const classes = classNames("mx_RoomTile2_notificationsButton", {
|
const classes = classNames("mx_RoomTile2_notificationsButton", {
|
||||||
// Show bell icon for the default case too.
|
// Show bell icon for the default case too.
|
||||||
mx_RoomTile2_iconBell: state === ALL_MESSAGES_LOUD || state === ALL_MESSAGES,
|
mx_RoomTile2_iconBell: state === state === ALL_MESSAGES,
|
||||||
mx_RoomTile2_iconBellDot: state === MENTIONS_ONLY,
|
mx_RoomTile2_iconBellDot: state === ALL_MESSAGES_LOUD,
|
||||||
|
mx_RoomTile2_iconBellMentions: state === MENTIONS_ONLY,
|
||||||
mx_RoomTile2_iconBellCrossed: state === MUTE,
|
mx_RoomTile2_iconBellCrossed: state === MUTE,
|
||||||
|
|
||||||
// Only show the icon by default if the room is overridden to muted.
|
// Only show the icon by default if the room is overridden to muted.
|
||||||
|
|
Loading…
Reference in a new issue