make lint

This commit is contained in:
Loren Burkholder 2021-06-10 20:13:12 -04:00
parent 6c57fa6c5b
commit e1acf5d324
15 changed files with 287 additions and 130 deletions

View file

@ -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 {