Fix link color in reply delegate.

This commit is contained in:
Black Hat 2019-05-18 16:32:36 +08:00
parent 5fd5d0d9ea
commit ae5154fd35
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ ColumnLayout {
Layout.fillWidth: true
color: !sentByMe ? MPalette.foreground : "white"
text: "<style>a{color: " + (darkBackground ? "white" : MPalette.foreground) + ";} .user-pill{}</style>" + (replyDisplay || "")
text: "<style>a{color: " + color + ";} .user-pill{}</style>" + (replyDisplay || "")
wrapMode: Label.Wrap
textFormat: Label.RichText
@ -191,7 +191,7 @@ ColumnLayout {
id: contentLabel
text: "<style>a{color: " + (darkBackground ? "white" : MPalette.foreground) + ";} .user-pill{}</style>" + display
text: "<style>a{color: " + color + ";} .user-pill{}</style>" + display
color: darkBackground ? "white" : MPalette.foreground