From 023c51ac62ea751fb32800f9ee1515598cdcd798 Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 12 May 2023 14:09:02 +0000 Subject: [PATCH] Fix QuickSwitcher notification count Use `notificationcount` instead of unread count in the `quickswitcher` as unread count is removed --- src/qml/Component/QuickSwitcher.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Component/QuickSwitcher.qml b/src/qml/Component/QuickSwitcher.qml index 138a26fb8..8471f6d01 100644 --- a/src/qml/Component/QuickSwitcher.qml +++ b/src/qml/Component/QuickSwitcher.qml @@ -92,7 +92,7 @@ QQC2.Dialog { required property var currentRoom required property string name required property int index - required property int unreadCount + required property int notificationCount required property string subtitleText required property string avatar @@ -113,7 +113,7 @@ QQC2.Dialog { RoomManager.enterRoom(roomListItem.currentRoom); root.close(); } - bold: roomListItem.unreadCount > 0 + bold: roomListItem.notificationCount > 0 label: roomListItem.name ?? "" labelItem.textFormat: Text.PlainText subtitle: roomListItem.subtitleText