From 17d60b79ca84a20475961c47aa4e30c8e503dab1 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 13 Apr 2024 10:53:35 +0100 Subject: [PATCH] Fix showing the unread count for DM section when not selected --- src/qml/SpaceDrawer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/SpaceDrawer.qml b/src/qml/SpaceDrawer.qml index 45381d8a7..9ec58dc3c 100644 --- a/src/qml/SpaceDrawer.qml +++ b/src/qml/SpaceDrawer.qml @@ -148,7 +148,7 @@ QQC2.Control { height: Kirigami.Units.iconSizes.smallMedium text: root.connection.directChatNotifications > 0 ? root.connection.directChatNotifications : "" - visible: (root.connection.directChatNotifications > 0 || root.connection.directChatInvites) && root.showDirectChats === false + visible: (root.connection.directChatNotifications > 0 || root.connection.directChatInvites) && RoomManager.currentSpace !== "DM" color: Kirigami.Theme.textColor horizontalAlignment: Text.AlignHCenter background: Rectangle {