diff --git a/imports/NeoChat/Page/RoomListPage.qml b/imports/NeoChat/Page/RoomListPage.qml index 38b153a2a..9c53de680 100644 --- a/imports/NeoChat/Page/RoomListPage.qml +++ b/imports/NeoChat/Page/RoomListPage.qml @@ -110,6 +110,7 @@ Kirigami.ScrollablePage { } } + contentItem: RowLayout { id: roomLayout spacing: Kirigami.Units.largeSpacing @@ -118,7 +119,10 @@ Kirigami.ScrollablePage { TapHandler { acceptedButtons: Qt.RightButton onTapped: roomListContextMenu.createObject(roomLayout, {"room": currentRoom}).popup() + } + TapHandler { + onLongPressed: roomListContextMenu.createObject(roomLayout, {"room": currentRoom}).popup() } Kirigami.Avatar { @@ -178,7 +182,7 @@ Kirigami.ScrollablePage { } } QQC2.Button { - visible: roomListItem.hovered || Kirigami.Settings.isMobile + visible: roomListItem.hovered Accessible.description: i18n("Configure room") action: Kirigami.Action { id: optionAction