TDLib 1.7: Web page descriptions can be formatted now

This commit is contained in:
Sebastian Wolf 2020-12-07 22:02:58 +01:00
parent 63db26afc8
commit 6e54988978

View file

@ -103,7 +103,7 @@ Column {
id: descriptionText
width: parent.width
text: webPageData.description ? Emoji.emojify(webPageData.description, font.pixelSize) : ""
text: webPageData.description ? Emoji.emojify(Functions.enhanceMessageText(webPageData.description), font.pixelSize) : ""
font.pixelSize: webPagePreviewColumn.largerFontSize ? Theme.fontSizeSmall : Theme.fontSizeExtraSmall
truncationMode: TruncationMode.Fade
wrapMode: Text.Wrap