Fix the hover text for add alias button.
Only show the add alias textfield if the user has the appropriate permissions
This commit is contained in:
@@ -176,6 +176,7 @@ Kirigami.ScrollablePage {
|
|||||||
}
|
}
|
||||||
MobileForm.AbstractFormDelegate {
|
MobileForm.AbstractFormDelegate {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
visible: room.canSendState("m.room.canonical_alias")
|
||||||
|
|
||||||
contentItem : RowLayout {
|
contentItem : RowLayout {
|
||||||
Kirigami.ActionTextField {
|
Kirigami.ActionTextField {
|
||||||
@@ -200,7 +201,7 @@ Kirigami.ScrollablePage {
|
|||||||
QQC2.Button {
|
QQC2.Button {
|
||||||
id: addButton
|
id: addButton
|
||||||
|
|
||||||
text: i18n("Add keyword")
|
text: i18n("Add new alias")
|
||||||
Accessible.name: text
|
Accessible.name: text
|
||||||
icon.name: "list-add"
|
icon.name: "list-add"
|
||||||
display: QQC2.AbstractButton.IconOnly
|
display: QQC2.AbstractButton.IconOnly
|
||||||
|
|||||||
Reference in New Issue
Block a user