From a23ef130ca23536cb9da008bf27d1180e7b55dba Mon Sep 17 00:00:00 2001 From: Jan Bidler Date: Fri, 26 Aug 2022 13:50:57 +0200 Subject: [PATCH] Make unread messages use an ascii circle --- imports/NeoChat/Page/RoomListPage.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomListPage.qml b/imports/NeoChat/Page/RoomListPage.qml index 252f53c6e..60a08f9fc 100644 --- a/imports/NeoChat/Page/RoomListPage.qml +++ b/imports/NeoChat/Page/RoomListPage.qml @@ -338,13 +338,14 @@ Kirigami.ScrollablePage { trailing: RowLayout { QQC2.Label { - text: notificationCount > 0 ? notificationCount : "" + text: notificationCount > 0 ? notificationCount : "●" visible: unreadCount > 0 padding: Kirigami.Units.smallSpacing color: Kirigami.Theme.textColor Layout.minimumWidth: height horizontalAlignment: Text.AlignHCenter background: Rectangle { + visible: notificationCount > 0 Kirigami.Theme.colorSet: Kirigami.Theme.Button color: highlightCount > 0 ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.disabledTextColor radius: height / 2