fix: remove recipient selector from StatusETHTransactionModal

This commit is contained in:
Richard Ramos 2022-08-22 08:37:45 -04:00
parent 9283e68421
commit 83079cd147
2 changed files with 2 additions and 12 deletions

View File

@ -107,16 +107,6 @@ ModalPopup {
minRequiredAssetBalance: 0 minRequiredAssetBalance: 0
onSelectedAccountChanged: if (isValid) { gasSelector.estimateGas() } onSelectedAccountChanged: if (isValid) { gasSelector.estimateGas() }
} }
RecipientSelector {
id: selectRecipient
visible: false
accounts: root.ensUsernamesStore.walletAccounts
contactsStore: root.contactsStore
isValid: true
selectedRecipient: { "address": root.ensUsernamesStore.getEnsRegisteredAddress(), "type": RecipientSelector.Type.Address }
readOnly: true
onSelectedRecipientChanged: if (isValid) { gasSelector.estimateGas() }
}
GasSelector { GasSelector {
id: gasSelector id: gasSelector
visible: true visible: true
@ -160,7 +150,7 @@ ModalPopup {
"symbol": "ETH", "symbol": "ETH",
"fiatValue": gasSelector.selectedGasFiatValue "fiatValue": gasSelector.selectedGasFiatValue
} }
toAccount: selectRecipient.selectedRecipient toAccount: { "address": root.ensUsernamesStore.getEnsRegisteredAddress(), "type": RecipientSelector.Type.Address }
asset: root.asset asset: root.asset
currency: root.ensUsernamesStore.getCurrentCurrency() currency: root.ensUsernamesStore.getCurrentCurrency()
amount: { amount: {

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit 956cc1870ea72871b8e929f63f812799456c1460 Subproject commit 92a622d6fbf754e320203ab551c5be9b21b1ef85