Removed unnecessary presenter.currencyIsoCodeOfAccounts()
This commit is contained in:
parent
3ca9017bde
commit
1e09eac9e0
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue