From 4ef75cfdf3a5046c0846f7f36c877ed15c763443 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Fri, 19 Mar 2021 22:17:56 +0100 Subject: [PATCH] Fix regression around highlited messages Fix #307 --- imports/NeoChat/Component/Timeline/TimelineContainer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/Timeline/TimelineContainer.qml b/imports/NeoChat/Component/Timeline/TimelineContainer.qml index 99cf44952..36c6a4dae 100644 --- a/imports/NeoChat/Component/Timeline/TimelineContainer.qml +++ b/imports/NeoChat/Component/Timeline/TimelineContainer.qml @@ -210,7 +210,7 @@ Item { background: Kirigami.ShadowedRectangle { visible: cardBackground - color: Kirigami.Theme.backgroundColor + color: model.isHighlighted ? Kirigami.Theme.positiveBackgroundColor : Kirigami.Theme.backgroundColor radius: Kirigami.Units.smallSpacing shadow.size: Kirigami.Units.smallSpacing shadow.color: !model.isHighlighted ? Qt.rgba(0.0, 0.0, 0.0, 0.10) : Qt.rgba(Kirigami.Theme.textColor.r, Kirigami.Theme.textColor.g, Kirigami.Theme.textColor.b, 0.10)