Fixed that partially accounts have been displayed at other banks
This commit is contained in:
parent
752b8bd1a3
commit
cbed0e7758
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue