fix: code review

This commit is contained in:
Richard Ramos 2020-11-26 13:35:13 -04:00 committed by Iuri Matias
parent 95616e2d10
commit 7c69f8fe52
1 changed files with 2 additions and 4 deletions

View File

@ -47,9 +47,7 @@ Loader {
visible: repliedMessageType != Constants.imageType visible: repliedMessageType != Constants.imageType
anchors.top: lblReplyAuthor.bottom anchors.top: lblReplyAuthor.bottom
anchors.topMargin: 5 anchors.topMargin: 5
text: `<html>`+ text: `<style type="text/css">`+
`<head>`+
`<style type="text/css">`+
`a {`+ `a {`+
`color: ${isCurrentUser && !appSettings.compactMode ? Style.current.white : Style.current.textColor};`+ `color: ${isCurrentUser && !appSettings.compactMode ? Style.current.white : Style.current.textColor};`+
`}`+ `}`+
@ -59,7 +57,7 @@ Loader {
`</style>`+ `</style>`+
`</head>`+ `</head>`+
`<body>`+ `<body>`+
`${Emoji.parse(Utils.linkifyAndXSS(repliedMessageContent))}`+ `${Emoji.parse(Utils.linkifyAndXSS(repliedMessageContent), "26x26")}`+
`</body>`+ `</body>`+
`</html>` `</html>`
textFormat: Text.RichText textFormat: Text.RichText