Fixed that for credit card accounts retrieving balance may not be supported, but balance may gets retrieved in another way (like with transactions), then doAccountsSupportRetrievingBalance() now returns true anyway
This commit is contained in:
parent
e0dbd00634
commit
94dd1aaff8
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ open class BankingPresenter(
|
|||
get() = doAccountsSupportRetrievingBalance(selectedAccounts)
|
||||
|
||||
open fun doAccountsSupportRetrievingBalance(accounts: List<TypedBankAccount>): Boolean {
|
||||
return accounts.firstOrNull { it.supportsRetrievingBalance } != null
|
||||
return accounts.firstOrNull { it.supportsRetrievingBalance || it.balance != BigDecimal.Zero } != null // for credit card account supportsRetrievingBalance may is false but for these balance may gets retrieved otherwise
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue