Improve space suggestions editing
This is confusing to users as there may be two "remove" icons, but one of them is actually for suggestions. BUG: 497044 FIXED-IN: 26.04
This commit is contained in:
@@ -140,8 +140,8 @@ Item {
|
|||||||
}
|
}
|
||||||
QQC2.ToolButton {
|
QQC2.ToolButton {
|
||||||
visible: root.parentRoom?.canSendState("m.space.child") ?? false
|
visible: root.parentRoom?.canSendState("m.space.child") ?? false
|
||||||
text: root.isSuggested ? i18nc("@button", "Don't Make Suggested") : i18nc("@button", "Make Suggested")
|
text: root.isSuggested ? i18nc("@button", "Don't Suggest") : i18nc("@button", "Make Suggested")
|
||||||
icon.name: root.isSuggested ? "edit-delete-remove" : "checkmark"
|
icon.name: root.isSuggested ? "window-unpin-symbolic" : "window-pin-symbolic"
|
||||||
display: QQC2.AbstractButton.IconOnly
|
display: QQC2.AbstractButton.IconOnly
|
||||||
onClicked: root.parentRoom.toggleChildSuggested(root.roomId)
|
onClicked: root.parentRoom.toggleChildSuggested(root.roomId)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user