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:
dankito 2020-09-03 13:23:26 +02:00
parent b701a23cef
commit b6173d20ad
1 changed files with 3 additions and 2 deletions

View File

@ -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")) {