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.
This commit is contained in:
committed by
Tobias Fella
parent
4ef44b8e93
commit
0beb5df08d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user