Remove unnecessary parenthesis

This commit is contained in:
Benoit Marty
2024-02-06 20:19:57 +01:00
committed by Benoit Marty
parent 27b475286f
commit 4dc4e5bef8
@@ -38,8 +38,8 @@ data class RoomListRoomSummary(
val hasRoomCall: Boolean, val hasRoomCall: Boolean,
val isDm: Boolean, val isDm: Boolean,
) { ) {
val isHighlighted = (userDefinedNotificationMode != RoomNotificationMode.MUTE && val isHighlighted = userDefinedNotificationMode != RoomNotificationMode.MUTE &&
(numberOfUnreadNotifications > 0 || numberOfUnreadMentions > 0)) || (numberOfUnreadNotifications > 0 || numberOfUnreadMentions > 0) ||
isMarkedUnread isMarkedUnread
val hasNewContent = numberOfUnreadMessages > 0 || val hasNewContent = numberOfUnreadMessages > 0 ||