From 9dc6c0c5c065d4714c1aa636c6ee465024445d2a Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 1 Sep 2020 15:14:47 +0200 Subject: [PATCH] Checking now equality of whole bank account instead of only its technical id --- .../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 130b15ff..3553d9d6 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 @@ -95,7 +95,7 @@ open class AccountTransaction( if (this === other) return true if (other !is AccountTransaction) return false - if (bankAccount.technicalId != other.bankAccount.technicalId) return false + if (bankAccount != other.bankAccount) return false if (amount != other.amount) return false if (currency != other.currency) return false if (unparsedUsage != other.unparsedUsage) return false