Commit 09d80703 authored by Karel Slaný's avatar Karel Slaný
Browse files

Merge branch 'message-list-style-change' into 'develop'

Old messages have dark sender name and light dark background (issue #53)

See merge request !39
parents 9c9b6486 fbfa5ea2
...@@ -143,9 +143,9 @@ Component { ...@@ -143,9 +143,9 @@ Component {
height: listItemHeight height: listItemHeight
width: parent.width width: parent.width
color: if (rReadLocally) { color: if (rReadLocally) {
datovkaPalette.base
} else {
datovkaPalette.alternateBase datovkaPalette.alternateBase
} else {
datovkaPalette.base
} }
Rectangle { Rectangle {
id: msgEnvelope id: msgEnvelope
...@@ -185,7 +185,11 @@ Component { ...@@ -185,7 +185,11 @@ Component {
Text { Text {
id: r1c2 id: r1c2
text: rFromTo text: rFromTo
color: datovkaPalette.highlight color: if (rReadLocally) {
datovkaPalette.dark
} else {
datovkaPalette.highlight
}
font.bold: true font.bold: true
} }
Rectangle { Rectangle {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment