summaryrefslogtreecommitdiffstats
path: root/resources/qml/CommunitiesList.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2022-04-20 21:30:16 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2022-06-29 22:04:17 -0400
commite446e3d6792ff6a1664934b24e19fc80ffbbd22e (patch)
tree06efa0c032dc6148ef3163e2ea75c5def2920624 /resources/qml/CommunitiesList.qml
parent169384f0fa41cc8a52428f27bc3042dc849dd8c9 (diff)
Add loud notifications for spaces
Diffstat (limited to 'resources/qml/CommunitiesList.qml')
-rw-r--r--resources/qml/CommunitiesList.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/CommunitiesList.qml b/resources/qml/CommunitiesList.qml
index f5f20a91..371e347e 100644
--- a/resources/qml/CommunitiesList.qml
+++ b/resources/qml/CommunitiesList.qml
@@ -164,7 +164,7 @@ Page {
height: collapsedNotificationBubbleText.height + Nheko.paddingMedium
width: Math.max(collapsedNotificationBubbleText.width, height)
radius: height / 2
- color: /*hasLoudNotification ? Nheko.theme.red :*/ communityItem.bubbleBackground
+ color: model.hasLoudNotification ? Nheko.theme.red : communityItem.bubbleBackground
ToolTip.text: model.unreadMessages
ToolTip.delay: Nheko.tooltipDelay
ToolTip.visible: collapsedNotificationBubbleHover.hovered && (model.unreadMessages > 9999)
@@ -178,7 +178,7 @@ Page {
width: Math.max(implicitWidth + Nheko.paddingMedium, parent.height)
font.bold: true
font.pixelSize: fontMetrics.font.pixelSize * 0.6
- color: /*hasLoudNotification ? "white" :*/ communityItem.bubbleText
+ color: model.hasLoudNotification ? "white" : communityItem.bubbleText
text: model.unreadMessages > 9999 ? "9999+" : model.unreadMessages
HoverHandler {
@@ -214,7 +214,7 @@ Page {
height: notificationBubbleText.height + Nheko.paddingMedium
Layout.preferredWidth: Math.max(notificationBubbleText.width, height)
radius: height / 2
- color: /*hasLoudNotification ? Nheko.theme.red :*/ communityItem.bubbleBackground
+ color: model.hasLoudNotification ? Nheko.theme.red : communityItem.bubbleBackground
ToolTip.text: model.unreadMessages
ToolTip.delay: Nheko.tooltipDelay
ToolTip.visible: notificationBubbleHover.hovered && (model.unreadMessages > 9999)
@@ -228,7 +228,7 @@ Page {
width: Math.max(implicitWidth + Nheko.paddingMedium, parent.height)
font.bold: true
font.pixelSize: fontMetrics.font.pixelSize * 0.8
- color: /*hasLoudNotification ? "white" :*/ communityItem.bubbleText
+ color: model.hasLoudNotification ? "white" : communityItem.bubbleText
text: model.unreadMessages > 9999 ? "9999+" : model.unreadMessages
HoverHandler {