Displaying now only bank name instead of also bank code and city (user knows bank code and city at the place already)
This commit is contained in:
parent
b701a23cef
commit
b6173d20ad
|
@ -25,15 +25,16 @@ struct AddAccountDialog: View {
|
||||||
NavigationLink(destination: SelectBankDialog($bank)) {
|
NavigationLink(destination: SelectBankDialog($bank)) {
|
||||||
if bank != nil {
|
if bank != nil {
|
||||||
bank.map { bank in
|
bank.map { bank in
|
||||||
BankInfoListItem(bank)
|
Text(bank.name)
|
||||||
|
.font(.headline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Text("Select your bank ...")
|
Text("Select your bank ...")
|
||||||
.detailForegroundColor()
|
.detailForegroundColor()
|
||||||
.frame(height: 50)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.frame(height: 30)
|
||||||
}
|
}
|
||||||
|
|
||||||
Section(header: Text("Online banking login data")) {
|
Section(header: Text("Online banking login data")) {
|
||||||
|
|
Loading…
Reference in New Issue