Added label to SearchBankDialog search bar
This commit is contained in:
parent
e3fd832632
commit
6ea94e436b
|
@ -17,6 +17,7 @@
|
||||||
/* SelectBankDialog */
|
/* SelectBankDialog */
|
||||||
|
|
||||||
"Select Bank Dialog Title" = "Select your bank ...";
|
"Select Bank Dialog Title" = "Select your bank ...";
|
||||||
|
"Search by bank code, bank name or city" = "Search by bank code, bank name or city";
|
||||||
|
|
||||||
|
|
||||||
/* AddAccountDialog */
|
/* AddAccountDialog */
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* SelectBankDialog */
|
/* SelectBankDialog */
|
||||||
|
|
||||||
"Select Bank Dialog Title" = "Bank auswählen";
|
"Select Bank Dialog Title" = "Bank auswählen";
|
||||||
|
"Search by bank code, bank name or city" = "Suche mittels Bankleitzahl, Bankname oder Ort";
|
||||||
|
|
||||||
|
|
||||||
/* AddAccountDialog */
|
/* AddAccountDialog */
|
||||||
|
|
|
@ -40,7 +40,7 @@ extension View {
|
||||||
|
|
||||||
func detailFont() -> some View {
|
func detailFont() -> some View {
|
||||||
return self
|
return self
|
||||||
.font(.callout)
|
.font(.callout)
|
||||||
}
|
}
|
||||||
|
|
||||||
func styleAsDetail() -> some View {
|
func styleAsDetail() -> some View {
|
||||||
|
|
|
@ -37,7 +37,18 @@ struct SelectBankDialog: View {
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Form {
|
Form {
|
||||||
Section {
|
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 {
|
Section {
|
||||||
|
|
Loading…
Reference in New Issue