diff --git a/ui/app/AppLayouts/Wallet/stores/RootStore.qml b/ui/app/AppLayouts/Wallet/stores/RootStore.qml index 72d941609e..65211e3b3f 100644 --- a/ui/app/AppLayouts/Wallet/stores/RootStore.qml +++ b/ui/app/AppLayouts/Wallet/stores/RootStore.qml @@ -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) { diff --git a/ui/imports/shared/controls/TransactionDelegate.qml b/ui/imports/shared/controls/TransactionDelegate.qml index 3c74e666cc..e7866e3e30 100644 --- a/ui/imports/shared/controls/TransactionDelegate.qml +++ b/ui/imports/shared/controls/TransactionDelegate.qml @@ -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