From ff4826b7aaa46e28ae667fcaf9d8c73b1d368e05 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 7 Aug 2024 14:49:00 +0300 Subject: [PATCH] Addition to #3122 - Force the room list search text field to always be displayed - while looking into fixes we noticed that we can more easily break the layout when the search field is automatically hidden --- .../Sources/Screens/HomeScreen/View/HomeScreenContent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenContent.swift b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenContent.swift index 669ab787fe..bd3305b4c9 100644 --- a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenContent.swift +++ b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenContent.swift @@ -65,7 +65,7 @@ struct HomeScreenContent: View { } } .isSearching($context.isSearchFieldFocused) - .searchable(text: $context.searchQuery) + .searchable(text: $context.searchQuery, placement: .navigationBarDrawer(displayMode: .always)) .compoundSearchField() .disableAutocorrection(true) case .migration: