Added label to SearchBankDialog search bar
This commit is contained in:
parent
e3fd832632
commit
6ea94e436b
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -40,7 +40,7 @@ extension View {
|
|||
|
||||
func detailFont() -> some View {
|
||||
return self
|
||||
.font(.callout)
|
||||
.font(.callout)
|
||||
}
|
||||
|
||||
func styleAsDetail() -> some View {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue