Removed unnecessary presenter.currencyIsoCodeOfAccounts()

This commit is contained in:
dankito 2020-09-27 03:41:53 +02:00
parent 3ca9017bde
commit 1e09eac9e0
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ struct AllBanksListItem: View {
Spacer() Spacer()
AmountLabel(banks.sumBalances(), presenter.currencyIsoCodeOfAccounts(accounts: presenter.allAccounts)) AmountLabel(banks.sumBalances())
} }
.frame(height: 35) .frame(height: 35)
.background(Color.systemBackground) // make background tapable .background(Color.systemBackground) // make background tapable

View File

@ -20,7 +20,7 @@ struct BankListItem : View {
Spacer() Spacer()
AmountLabel(bank.balance, presenter.currencyIsoCodeOfAccounts(accounts: bank.accounts)) AmountLabel(bank.balance)
} }
.frame(height: 35) .frame(height: 35)
.background(Color.systemBackground) // make background tapable .background(Color.systemBackground) // make background tapable