From 60e4a82fe0b1a24be3fdf566dc590474418ae75f Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 5 Aug 2020 17:29:06 +0200 Subject: [PATCH] Comparing now BankAccount's technicalId --- .../kotlin/net/dankito/banking/ui/model/AccountTransaction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/AccountTransaction.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/AccountTransaction.kt index 61e6cf4f..80bf2a18 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/AccountTransaction.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/AccountTransaction.kt @@ -89,7 +89,7 @@ open class AccountTransaction( if (this === other) return true if (other !is AccountTransaction) return false - if (bankAccount != other.bankAccount) return false + if (bankAccount.technicalId != other.bankAccount.technicalId) return false if (amount != other.amount) return false if (currency != other.currency) return false if (unparsedUsage != other.unparsedUsage) return false