Fix html in completer

Fixes #578
This commit is contained in:
Nicolas Werner 2021-06-05 23:20:23 +02:00
parent 1da3f2e1da
commit 27070386e7
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -210,6 +210,7 @@ Popup {
text: model.roomName
font.pixelSize: popup.avatarHeight * 0.5
color: model.index == popup.currentIndex ? Nheko.colors.highlightedText : Nheko.colors.text
textFormat: Text.RichText
}
}
@ -236,11 +237,13 @@ Popup {
Label {
text: model.roomName
color: model.index == popup.currentIndex ? Nheko.colors.highlightedText : Nheko.colors.text
textFormat: Text.RichText
}
Label {
text: "(" + model.roomAlias + ")"
color: model.index == popup.currentIndex ? Nheko.colors.highlightedText : Nheko.colors.buttonText
textFormat: Text.RichText
}
}