diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AllBanksListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AllBanksListItem.swift index ca00a751..6a126d8d 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AllBanksListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/AllBanksListItem.swift @@ -20,7 +20,7 @@ struct AllBanksListItem: View { Spacer() - AmountLabel(banks.sumBalances(), presenter.currencyIsoCodeOfAccounts(accounts: presenter.allAccounts)) + AmountLabel(banks.sumBalances()) } .frame(height: 35) .background(Color.systemBackground) // make background tapable diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/BankListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/BankListItem.swift index 0a7d871e..07fe21fa 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/BankListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/listitems/BankListItem.swift @@ -20,7 +20,7 @@ struct BankListItem : View { Spacer() - AmountLabel(bank.balance, presenter.currencyIsoCodeOfAccounts(accounts: bank.accounts)) + AmountLabel(bank.balance) } .frame(height: 35) .background(Color.systemBackground) // make background tapable