Fix date color for undecryptable events

This commit is contained in:
miruka 2019-04-14 14:18:53 -04:00
parent c5d5add2f8
commit 5a180120b1

View File

@ -25,7 +25,7 @@ RowLayout {
text: "<font color='" + text: "<font color='" +
(isUndecryptableEvent ? "darkred" : "gray") + "'>" + (isUndecryptableEvent ? "darkred" : "gray") + "'>" +
displayName + " " + contentText + displayName + " " + contentText +
"&nbsp;&nbsp;<font size=" + smallSize + "px>" + "&nbsp;&nbsp;<font size=" + smallSize + "px color='gray'>" +
Qt.formatDateTime(date_time, "hh:mm:ss") + Qt.formatDateTime(date_time, "hh:mm:ss") +
"</font></font>" "</font></font>"
textFormat: Text.RichText textFormat: Text.RichText