Use proper theme setting for text colour

This commit is contained in:
Simon Redman 2019-07-21 16:42:16 +02:00
parent 9c442455d2
commit bc468f1e07

View file

@ -97,7 +97,7 @@ RowLayout {
text: messageBody text: messageBody
textFormat: Text.PlainText textFormat: Text.PlainText
wrapMode: Text.Wrap wrapMode: Text.Wrap
color: sentByMe ? Kirigami.Theme.buttonTextColor : Kirigami.Theme.complementaryTextColor color: sentByMe ? Kirigami.Theme.viewTextColor : Kirigami.Theme.complementaryTextColor
Layout.maximumWidth: root.width - Kirigami.Units.gridUnit * 6 Layout.maximumWidth: root.width - Kirigami.Units.gridUnit * 6
} }