From 51044a257ccbdafbd876bbf5aa999f4ede38db85 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 28 Sep 2020 15:42:46 +0200 Subject: [PATCH] Fixed that unsupported account types are not taking into calculation for selectedAccountsForWhichNotAllTransactionsHaveBeenFetched --- .../kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt index 3d5d6a7f..39c6f78a 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/presenter/BankingPresenter.kt @@ -678,7 +678,7 @@ open class BankingPresenter( get() = currencyInfoProvider.getCurrencySymbolForIsoCodeOrEuro(currencyIsoCodeOfSelectedAccounts) open val selectedAccountsForWhichNotAllTransactionsHaveBeenFetched: List - get() = selectedAccounts.filter { it.haveAllTransactionsBeenRetrieved == false } + get() = selectedAccounts.filter { it.haveAllTransactionsBeenRetrieved == false && it.isAccountTypeSupportedByApplication } open val selectedAccountsTransactionRetrievalState: TransactionsRetrievalState get() = getAccountsTransactionRetrievalState(selectedAccounts)