Show notification counts on the room Avatars when collapsed.

Show notification counts on the room Avatars when collapsed.

BUG: 468520
This commit is contained in:
James Graham
2024-08-06 20:51:16 +00:00
parent e0c8945431
commit 68dfc6ca81
5 changed files with 121 additions and 84 deletions

View File

@@ -15,6 +15,12 @@ Delegates.RoundedItemDelegate {
property url source
property alias notificationCount: avatarNotification.notificationCount
property alias notificationHighlight: avatarNotification.notificationHighlight
property alias showNotificationLabel: avatarNotification.showNotificationLabel
signal contextMenuRequested
signal selected
@@ -41,7 +47,8 @@ Delegates.RoundedItemDelegate {
}
}
contentItem: KirigamiComponents.Avatar {
contentItem: AvatarNotification {
id: avatarNotification
source: root.source
name: root.text
}