fix: calculate estimated time in ens modal
fix: calculate estimated time in ens modal
This commit is contained in:
parent
289209f7ec
commit
9283e68421
|
@ -140,6 +140,10 @@ QtObject {
|
|||
return ensUsernamesModule.getGasEthValue(gweiValue, gasLimit)
|
||||
}
|
||||
|
||||
function getEstimatedTime(chainId, maxFeePerGas) {
|
||||
return walletSectionTransactions.getEstimatedTime(chainId, maxFeePerGas)
|
||||
}
|
||||
|
||||
function getStatusToken() {
|
||||
if(!root.ensUsernamesModule)
|
||||
return ""
|
||||
|
|
|
@ -112,6 +112,7 @@ ModalPopup {
|
|||
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() }
|
||||
|
@ -122,6 +123,7 @@ ModalPopup {
|
|||
anchors.top: selectFromAccount.bottom
|
||||
anchors.topMargin: Style.current.padding
|
||||
getGasEthValue: root.ensUsernamesStore.getGasEthValue
|
||||
getEstimatedTime: root.ensUsernamesStore.getEstimatedTime
|
||||
getFiatValue: root.ensUsernamesStore.getFiatValue
|
||||
defaultCurrency: root.ensUsernamesStore.getCurrentCurrency()
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ef21440e320d21ed0ad26cb3506d3d93ce5671be
|
||||
Subproject commit 956cc1870ea72871b8e929f63f812799456c1460
|
Loading…
Reference in New Issue