mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Add leave button to space preview
This commit is contained in:
parent
1e701d411b
commit
7bb509005c
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue