From 0d9eff266fba59d90d3c04ec9f4f64a279d17755 Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 16 Sep 2020 03:34:42 +0200 Subject: [PATCH] Again filtering out duplicates after setting bank name as now some remittees contain the same information --- .../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 2f6bf770..397e9d85 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 @@ -536,7 +536,7 @@ open class BankingPresenter constructor( remittee.bankName = tryToFindBankName(remittee) remittee - } + }.toSet().toList() } protected open fun tryToFindBankName(remittee: Remittee): String? {