From 0beb5df08d139a9d74853d5d8fe6ad5694e4f6f0 Mon Sep 17 00:00:00 2001 From: James Graham Date: Thu, 9 Nov 2023 20:11:38 +0000 Subject: [PATCH] Hide the search field for room members in a direct chat. Hide the search field for room members in a direct chat as there are no members to search. --- src/qml/RoomInformation.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/RoomInformation.qml b/src/qml/RoomInformation.qml index 27b6a5705..f9195d778 100644 --- a/src/qml/RoomInformation.qml +++ b/src/qml/RoomInformation.qml @@ -160,6 +160,7 @@ QQC2.ScrollView { Kirigami.SearchField { id: userListSearchField + visible: !root.room.isDirectChat() onVisibleChanged: if (visible) forceActiveFocus() Layout.fillWidth: true Layout.leftMargin: Kirigami.Units.largeSpacing