summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 23:26:21 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-11-01 23:26:21 +0100
commit40ac55ddd9f1ba02e37f189ba7566d8d95699b4c (patch)
tree9c3db7ee1e3a9cd0043795d991dc8a92bc1fe2b4 /resources
parentThe hybris of committing a line without linting (diff)
downloadnheko-40ac55ddd9f1ba02e37f189ba7566d8d95699b4c.tar.xz
Highlight higlight tweaks in the timeline
fixes #400
fixes #1136
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/MessageView.qml2
-rw-r--r--resources/qml/TimelineRow.qml3
2 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml

index f94fc4a9..8e6ad8d2 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml
@@ -415,6 +415,7 @@ Item { required property string callType required property var reactions required property int trustlevel + required property int notificationlevel required property int encryptionError required property var timestamp required property int status @@ -482,6 +483,7 @@ Item { callType: wrapper.callType reactions: wrapper.reactions trustlevel: wrapper.trustlevel + notificationlevel: wrapper.notificationlevel encryptionError: wrapper.encryptionError timestamp: wrapper.timestamp status: wrapper.status diff --git a/resources/qml/TimelineRow.qml b/resources/qml/TimelineRow.qml
index 181b64ff..01e58cdf 100644 --- a/resources/qml/TimelineRow.qml +++ b/resources/qml/TimelineRow.qml
@@ -41,6 +41,7 @@ AbstractButton { required property string callType required property var reactions required property int trustlevel + required property int notificationlevel required property int encryptionError required property int duration required property var timestamp @@ -117,6 +118,8 @@ AbstractButton { property color bgColor: Nheko.colors.base color: (Settings.bubbles && !isStateEvent) ? Qt.tint(bgColor, Qt.hsla(userColor.hslHue, 0.5, userColor.hslLightness, 0.2)) : "#00000000" radius: 4 + border.width: r.notificationlevel == MtxEvent.Highlight ? 2 : 0 + border.color: Nheko.theme.red GridLayout { anchors {