fix(TransactionDelegate): fix `transactionType`

- the `addressesEqual` was forgotten in the TransactionDelegate but it's
referenced by `transactionType` function inside the store
This commit is contained in:
Lukáš Tinkl 2024-09-25 18:59:06 +02:00 committed by Lukáš Tinkl
parent 54afe78b94
commit a0112f063e
2 changed files with 4 additions and 4 deletions

View File

@ -561,6 +561,10 @@ QtObject {
return transaction.txType
}
function addressesEqual(address1, address2) {
return address1.toUpperCase() === address2.toUpperCase()
}
// TODO: https://github.com/status-im/status-desktop/issues/15329
// Get DApp data from the backend
function getDappDetails(chainId, contractAddress) {

View File

@ -202,10 +202,6 @@ StatusListItem {
property color animatedBgColor
property int txType: walletRootStore.transactionType(root.modelData)
function addressesEqual(address1, address2) {
return address1.toUpperCase() == address2.toUpperCase()
}
readonly property var secondIconAsset: StatusAssetSettings {
width: root.tokenIconAsset.width
height: root.tokenIconAsset.height