Revert "Implement sending location messages"

This reverts commit f3a04635cf
This commit is contained in:
Tobias Fella
2023-04-09 20:22:06 +00:00
parent 4341cc437d
commit 52dafbb6c8
5 changed files with 1 additions and 132 deletions

View File

@@ -65,17 +65,8 @@ QQC2.Control {
emojiDialog.open()
}
}
},
Kirigami.Action {
id: mapButton
icon.name: "globe"
property bool isBusy: false
text: i18n("Send a Location")
displayHint: QQC2.AbstractButton.IconOnly
onTriggered: {
locationChooserComponent.createObject(QQC2.ApplicationWindow.overlay, {room: currentRoom}).open()
}
tooltip: text
},
Kirigami.Action {
id: sendAction
@@ -482,9 +473,4 @@ QQC2.Control {
textField.cursorPosition = index + format.start.length + format.end.length;
}
}
Component {
id: locationChooserComponent
LocationChooser {}
}
}