diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-03-02 10:30:59 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-03-02 10:30:59 -0500 |
commit | 7bb509005c734aec03b0a4845a649734ef417f3f (patch) | |
tree | a6515f8b15be1913bfe2516660d5b6b422161879 /resources | |
parent | Don't double-show encryption dialog (diff) | |
download | nheko-7bb509005c734aec03b0a4845a649734ef417f3f.tar.xz |
Add leave button to space preview
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/TimelineView.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index e836f60f..c7b554b8 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -279,6 +279,13 @@ Item { onClicked: Rooms.declineInvite(roomPreview.roomid) } + FlatButton { + visible: !!room + Layout.alignment: Qt.AlignHCenter + text: qsTr("leave") + onClicked: TimelineManager.openLeaveRoomDialog(room.roomId) + } + ScrollView { id: reasonField property bool showReason: false |