Make room address selectable

Help with #469
This commit is contained in:
Carl Schwan
2021-12-25 15:33:26 +01:00
parent 28137c8c86
commit 0801b815c8

View File

@@ -152,8 +152,13 @@ Kirigami.OverlayDrawer {
text: room ? room.displayName : i18n("No name")
textFormat: Text.PlainText
}
Label {
TextEdit {
Layout.fillWidth: true
textFormat: TextEdit.PlainText
wrapMode: Text.WordWrap
selectByMouse: true
color: Kirigami.Theme.textColor
readOnly: true
text: room && room.canonicalAlias ? room.canonicalAlias : i18n("No Canonical Alias")
}
}