Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 08392d5

Browse files
authored
Merge pull request #4884 from matrix-org/t3chguy/room-lists/99
Fix bell icon mismatch on room tile between hover and context menu
2 parents 8f3c8ba + 5c5482a commit 08392d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/views/rooms/RoomTile2.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,9 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
287287

288288
const classes = classNames("mx_RoomTile2_notificationsButton", {
289289
// Show bell icon for the default case too.
290-
mx_RoomTile2_iconBell: state === ALL_MESSAGES_LOUD || state === ALL_MESSAGES,
291-
mx_RoomTile2_iconBellDot: state === MENTIONS_ONLY,
290+
mx_RoomTile2_iconBell: state === state === ALL_MESSAGES,
291+
mx_RoomTile2_iconBellDot: state === ALL_MESSAGES_LOUD,
292+
mx_RoomTile2_iconBellMentions: state === MENTIONS_ONLY,
292293
mx_RoomTile2_iconBellCrossed: state === MUTE,
293294

294295
// Only show the icon by default if the room is overridden to muted.

0 commit comments

Comments
 (0)