Added label to SearchBankDialog search bar

This commit is contained in:
dankito 2020-07-28 12:16:23 +02:00
parent e3fd832632
commit 6ea94e436b
4 changed files with 15 additions and 2 deletions

View File

@ -17,6 +17,7 @@
/* SelectBankDialog */
"Select Bank Dialog Title" = "Select your bank ...";
"Search by bank code, bank name or city" = "Search by bank code, bank name or city";
/* AddAccountDialog */

View File

@ -17,6 +17,7 @@
/* SelectBankDialog */
"Select Bank Dialog Title" = "Bank auswählen";
"Search by bank code, bank name or city" = "Suche mittels Bankleitzahl, Bankname oder Ort";
/* AddAccountDialog */

View File

@ -40,7 +40,7 @@ extension View {
func detailFont() -> some View {
return self
.font(.callout)
.font(.callout)
}
func styleAsDetail() -> some View {

View File

@ -37,7 +37,18 @@ struct SelectBankDialog: View {
var body: some View {
Form {
Section {
UIKitSearchBar(text: searchTextBinding) // TODO: try to get rid of the two horizontal lines
VStack {
UIKitSearchBar(text: searchTextBinding) // TODO: try to get rid of the two horizontal lines
HStack {
Text("Search by bank code, bank name or city")
.font(.caption)
.styleAsDetail()
Spacer()
}
.padding(.leading, 10)
}
}
Section {