diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/SelectBankDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/SelectBankDialog.swift index 8aacff6c..526d3bbf 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/SelectBankDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/SelectBankDialog.swift @@ -38,7 +38,7 @@ struct SelectBankDialog: View { Form { Section { VStack { - UIKitSearchBar(text: searchTextBinding, focusOnStart: true) // TODO: try to get rid of the two horizontal lines + UIKitSearchBar(text: searchTextBinding, focusOnStart: true) HStack { Text("Search by bank code, bank name or city") diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/UIKitSearchBar.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/UIKitSearchBar.swift index f742ecb6..a5d32222 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/UIKitSearchBar.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/UIKitSearchBar.swift @@ -29,6 +29,8 @@ struct UIKitSearchBar : UIViewRepresentable { let searchBar = UISearchBar(frame: .zero) searchBar.placeholder = placeholder.localize() + + searchBar.searchBarStyle = .minimal searchBar.delegate = context.coordinator searchBar.searchTextField.delegate = context.coordinator