Init Markdown support.

This commit is contained in:
Black Hat
2018-07-10 21:08:17 +08:00
parent 0b2f252c42
commit 65ff905a7c
4 changed files with 40 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ AvatarContainer {
anchors.margins: 12
wrapMode: Label.Wrap
linkColor: isNotice ? Material.accent : sentByMe ? Material.accent : "white"
textFormat: Text.StyledText
textFormat: contentType === "text/html" ? Text.RichText : Text.StyledText
}
}
}