From 710668da5db850bad111c988a3235087953141be Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 23 Mar 2020 00:50:58 -0400 Subject: [PATCH] Disable unread mention counter *for now* There's currently no way to make it go down, read room markers need to be implemented first. --- src/gui/MainPane/Room.qml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/gui/MainPane/Room.qml b/src/gui/MainPane/Room.qml index 72e98d9c..3b504081 100644 --- a/src/gui/MainPane/Room.qml +++ b/src/gui/MainPane/Room.qml @@ -34,23 +34,23 @@ HTileDelegate { title.text: model.display_name || qsTr("Empty room") additionalInfo.children: [ - HLabel { - text: model.mentions - font.pixelSize: theme.fontSize.small - verticalAlignment: Qt.AlignVCenter - leftPadding: theme.spacing / 4 - rightPadding: leftPadding + // HLabel { + // text: model.mentions + // font.pixelSize: theme.fontSize.small + // verticalAlignment: Qt.AlignVCenter + // leftPadding: theme.spacing / 4 + // rightPadding: leftPadding - scale: model.mentions === 0 ? 0 : 1 - visible: scale > 0 + // scale: model.mentions === 0 ? 0 : 1 + // visible: scale > 0 - background: Rectangle { - color: theme.colors.alertBackground - radius: theme.radius / 4 - } + // background: Rectangle { + // color: theme.colors.alertBackground + // radius: theme.radius / 4 + // } - Behavior on scale { HNumberAnimation {} } - }, + // Behavior on scale { HNumberAnimation {} } + // }, HIcon { svgName: "invite-received"