Fixed removing horizontal bars from UIKitSearchBar
This commit is contained in:
parent
9d1dbadd46
commit
9074689523
|
@ -38,7 +38,7 @@ struct SelectBankDialog: View {
|
||||||
Form {
|
Form {
|
||||||
Section {
|
Section {
|
||||||
VStack {
|
VStack {
|
||||||
UIKitSearchBar(text: searchTextBinding, focusOnStart: true) // TODO: try to get rid of the two horizontal lines
|
UIKitSearchBar(text: searchTextBinding, focusOnStart: true)
|
||||||
|
|
||||||
HStack {
|
HStack {
|
||||||
Text("Search by bank code, bank name or city")
|
Text("Search by bank code, bank name or city")
|
||||||
|
|
|
@ -30,6 +30,8 @@ struct UIKitSearchBar : UIViewRepresentable {
|
||||||
|
|
||||||
searchBar.placeholder = placeholder.localize()
|
searchBar.placeholder = placeholder.localize()
|
||||||
|
|
||||||
|
searchBar.searchBarStyle = .minimal
|
||||||
|
|
||||||
searchBar.delegate = context.coordinator
|
searchBar.delegate = context.coordinator
|
||||||
searchBar.searchTextField.delegate = context.coordinator
|
searchBar.searchTextField.delegate = context.coordinator
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue