diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift index f09f2fd4..36dcc3a6 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/AccountsTab.swift @@ -15,8 +15,8 @@ struct AccountsTab: View { Form { AllBanksListItem(banks: data.banks) - ForEach(0 ..< data.banks.count) { bankIndex in - BankListItem(bank: self.data.banks[bankIndex]) + ForEach(data.banks) { bank in + BankListItem(bank: bank) } } }