Don't inherit color in TimelineContainer
(cherry picked from commit 3bd93996c0)
This commit is contained in:
@@ -518,7 +518,8 @@ ColumnLayout {
|
|||||||
visible: cardBackground && !Config.compactLayout
|
visible: cardBackground && !Config.compactLayout
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
Kirigami.Theme.colorSet: Kirigami.Theme.View
|
||||||
color: if (root.author.isLocalUser) {
|
Kirigami.Theme.inherit: false
|
||||||
|
color: if (root.author.isLocalUser) {
|
||||||
return Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.backgroundColor, Kirigami.Theme.highlightColor, 0.15)
|
return Kirigami.ColorUtils.tintWithAlpha(Kirigami.Theme.backgroundColor, Kirigami.Theme.highlightColor, 0.15)
|
||||||
} else if (root.showHighlight) {
|
} else if (root.showHighlight) {
|
||||||
return Kirigami.Theme.positiveBackgroundColor
|
return Kirigami.Theme.positiveBackgroundColor
|
||||||
|
|||||||
Reference in New Issue
Block a user