From 561114ee26c0276541a6fd79037c5c8c6bf8f97b Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 5 Aug 2020 17:28:41 +0200 Subject: [PATCH] Fixed that amount has been compared with other --- .../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 ddc5dd89..61e6cf4f 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 @@ -90,7 +90,7 @@ open class AccountTransaction( if (other !is AccountTransaction) return false if (bankAccount != other.bankAccount) return false - if (amount != other) return false // TODO: does this work? + if (amount != other.amount) return false if (currency != other.currency) return false if (unparsedUsage != other.unparsedUsage) return false if (bookingDate != other.bookingDate) return false