fix(@desktop/wallet): Send tag in SendModal doesn't show correct value

fixes #14448
This commit is contained in:
Khushboo Mehta 2024-05-06 11:58:12 +02:00 committed by Khushboo-dev-cpp
parent 8d8268db2f
commit bc1aa3b934
4 changed files with 6 additions and 8 deletions

View File

@ -466,7 +466,7 @@ StatusDialog {
store: popup.store
interactive: popup.interactive
selectedAccount: popup.preSelectedAccount
selectedRecipient: recipientLoader.selectedRecipient
ensAddressOrEmpty: recipientLoader.resolvedENSAddress
amountToSend: amountToSendInput.cryptoValueToSendFloat
minSendCryptoDecimals: amountToSendInput.minSendCryptoDecimals

View File

@ -17,7 +17,7 @@ Item {
property var store
property var currencyStore : store.currencyStore
property var selectedAccount
property var selectedRecipient
property string ensAddressOrEmpty: ""
property var selectedAsset
property double amountToSend
@ -84,7 +84,6 @@ Item {
minReceiveCryptoDecimals: root.minReceiveCryptoDecimals
isLoading: root.isLoading
store: root.store
selectedAccount: root.selectedAccount
errorMode: root.errorMode
errorType: root.errorType
toNetworksList: root.toNetworksList
@ -113,7 +112,7 @@ Item {
anchors.margins: Style.current.padding
store: root.store
customMode: tabBar.currentIndex === 2
selectedAccount: root.selectedAccount
selectedRecipient: root.selectedRecipient
ensAddressOrEmpty: root.ensAddressOrEmpty
amountToSend: root.amountToSend
minSendCryptoDecimals: root.minSendCryptoDecimals

View File

@ -16,7 +16,7 @@ ColumnLayout {
id: root
property var store
property var selectedAccount
property var selectedRecipient
property string ensAddressOrEmpty: ""
property double amountToSend
property int minSendCryptoDecimals: 0
@ -89,8 +89,8 @@ ColumnLayout {
sourceComponent: NetworkCardsComponent {
store: root.store
receiverIdentityText: root.ensAddressOrEmpty.length > 0 ?
root.ensAddressOrEmpty : !!root.selectedAccount ?
StatusQUtils.Utils.elideText(root.selectedAccount.address, 6, 4).toUpperCase() : ""
root.ensAddressOrEmpty : !!root.selectedRecipient ?
StatusQUtils.Utils.elideText(root.selectedRecipient.address, 6, 4).toUpperCase() : ""
amountToSend: root.amountToSend
minSendCryptoDecimals: root.minSendCryptoDecimals
minReceiveCryptoDecimals: root.minReceiveCryptoDecimals

View File

@ -20,7 +20,6 @@ RowLayout {
property bool isLoading: false
property bool isBridgeTx: false
property bool isCollectiblesTransfer: false
property var selectedAccount
property var toNetworksList
property var weiToEth: function(wei) {}
property var formatCurrencyAmount: function () {}