make lint
This commit is contained in:
parent
6c57fa6c5b
commit
e1acf5d324
15 changed files with 287 additions and 130 deletions
|
|
@ -21,12 +21,6 @@ Rectangle {
|
|||
z: 3
|
||||
color: Nheko.colors.window
|
||||
|
||||
Component {
|
||||
id: inviteDialog
|
||||
|
||||
InviteDialog {}
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
onSingleTapped: {
|
||||
if (room)
|
||||
|
|
@ -117,13 +111,7 @@ Rectangle {
|
|||
Platform.MenuItem {
|
||||
visible: room ? room.permissions.canInvite() : false
|
||||
text: qsTr("Invite users")
|
||||
onTriggered: {
|
||||
var dialog = inviteDialog.createObject(topBar, {
|
||||
"roomId": room.roomId,
|
||||
"roomName": room.roomName
|
||||
});
|
||||
dialog.show();
|
||||
}
|
||||
onTriggered: TimelineManager.timeline.openInviteUsers()
|
||||
}
|
||||
|
||||
Platform.MenuItem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue