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:
parent
54afe78b94
commit
a0112f063e
|
@ -561,6 +561,10 @@ QtObject {
|
||||||
return transaction.txType
|
return transaction.txType
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function addressesEqual(address1, address2) {
|
||||||
|
return address1.toUpperCase() === address2.toUpperCase()
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: https://github.com/status-im/status-desktop/issues/15329
|
// TODO: https://github.com/status-im/status-desktop/issues/15329
|
||||||
// Get DApp data from the backend
|
// Get DApp data from the backend
|
||||||
function getDappDetails(chainId, contractAddress) {
|
function getDappDetails(chainId, contractAddress) {
|
||||||
|
|
|
@ -202,10 +202,6 @@ StatusListItem {
|
||||||
property color animatedBgColor
|
property color animatedBgColor
|
||||||
property int txType: walletRootStore.transactionType(root.modelData)
|
property int txType: walletRootStore.transactionType(root.modelData)
|
||||||
|
|
||||||
function addressesEqual(address1, address2) {
|
|
||||||
return address1.toUpperCase() == address2.toUpperCase()
|
|
||||||
}
|
|
||||||
|
|
||||||
readonly property var secondIconAsset: StatusAssetSettings {
|
readonly property var secondIconAsset: StatusAssetSettings {
|
||||||
width: root.tokenIconAsset.width
|
width: root.tokenIconAsset.width
|
||||||
height: root.tokenIconAsset.height
|
height: root.tokenIconAsset.height
|
||||||
|
|
Loading…
Reference in New Issue