Use search field style from Compound. (#839)

This commit is contained in:
Doug
2023-04-28 11:59:40 +01:00
committed by GitHub
parent c96ccd0f26
commit 18766d5852
10 changed files with 16 additions and 114 deletions
@@ -14,6 +14,7 @@
// limitations under the License.
//
import Compound
import SwiftUI
struct RoomMembersListScreen: View {
@@ -39,7 +40,7 @@ struct RoomMembersListScreen: View {
}
}
.searchable(text: $context.searchQuery, placement: .navigationBarDrawer(displayMode: .always))
.searchableStyle(.list)
.compoundSearchField()
.background(Color.element.background.ignoresSafeArea())
.navigationTitle(L10n.commonPeople)
.alert(item: $context.alertInfo) { $0.alert }