Fixed that partially accounts have been displayed at other banks

This commit is contained in:
dankito 2020-08-06 16:06:39 +02:00
parent 752b8bd1a3
commit cbed0e7758
1 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,9 @@ struct BankListItem : View {
} }
ForEach(0 ..< bank.accounts.count) { accountIndex in
BankAccountListItem(account: self.bank.accounts[accountIndex]) ForEach(bank.accounts) { account in
BankAccountListItem(account: account)
} }
.padding(.leading, 18) .padding(.leading, 18)
} }