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 HomeScreen: View {
@@ -63,7 +64,7 @@ struct HomeScreen: View {
}
}
.searchable(text: $context.searchQuery)
.searchableStyle(.list)
.compoundSearchField()
.disableAutocorrection(true)
}
}