fix(@desktop/wallet): gas error position
This commit is contained in:
parent
5b63bc14bc
commit
e0c5e9b9b0
|
@ -134,7 +134,7 @@ ModalPopup {
|
|||
}
|
||||
GasSelector {
|
||||
id: gasSelector
|
||||
anchors.topMargin: Style.current.bigPadding
|
||||
anchors.topMargin: Style.current.padding
|
||||
gasPrice: parseFloat(walletModel.gasView.gasPrice)
|
||||
getGasEthValue: walletModel.gasView.getGasEthValue
|
||||
getFiatValue: walletModel.balanceView.getFiatValue
|
||||
|
@ -173,8 +173,7 @@ ModalPopup {
|
|||
}
|
||||
GasValidator {
|
||||
id: gasValidator
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 8
|
||||
anchors.top: gasSelector.bottom
|
||||
selectedAccount: selectFromAccount.selectedAccount
|
||||
selectedAmount: parseFloat(root.selectedAmount)
|
||||
selectedAsset: root.selectedAsset
|
||||
|
|
|
@ -130,7 +130,7 @@ ModalPopup {
|
|||
GasSelector {
|
||||
id: gasSelector
|
||||
anchors.top: txtAmount.bottom
|
||||
anchors.topMargin: Style.current.bigPadding * 2
|
||||
anchors.topMargin: Style.current.padding
|
||||
gasPrice: parseFloat(walletModel.gasView.gasPrice)
|
||||
getGasEthValue: walletModel.gasView.getGasEthValue
|
||||
getFiatValue: walletModel.balanceView.getFiatValue
|
||||
|
@ -163,7 +163,6 @@ ModalPopup {
|
|||
GasValidator {
|
||||
id: gasValidator
|
||||
anchors.top: gasSelector.bottom
|
||||
anchors.topMargin: 8
|
||||
selectedAccount: selectFromAccount.selectedAccount
|
||||
selectedAmount: parseFloat(txtAmount.selectedAmount)
|
||||
selectedAsset: txtAmount.selectedAsset
|
||||
|
|
|
@ -109,7 +109,7 @@ ModalPopup {
|
|||
id: gasSelector
|
||||
visible: true
|
||||
anchors.top: selectFromAccount.bottom
|
||||
anchors.topMargin: Style.current.bigPadding * 2
|
||||
anchors.topMargin: Style.current.padding
|
||||
gasPrice: parseFloat(walletModel.gasView.gasPrice)
|
||||
getGasEthValue: walletModel.gasView.getGasEthValue
|
||||
getFiatValue: walletModel.balanceView.getFiatValue
|
||||
|
@ -123,8 +123,7 @@ ModalPopup {
|
|||
}
|
||||
GasValidator {
|
||||
id: gasValidator
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 8
|
||||
anchors.top: gasSelector.bottom
|
||||
selectedAccount: selectFromAccount.selectedAccount
|
||||
selectedAsset: root.asset
|
||||
selectedAmount: 0
|
||||
|
|
|
@ -114,7 +114,7 @@ ModalPopup {
|
|||
GasSelector {
|
||||
id: gasSelector
|
||||
anchors.top: selectFromAccount.bottom
|
||||
anchors.topMargin: Style.current.bigPadding * 2
|
||||
anchors.topMargin: Style.current.padding
|
||||
gasPrice: parseFloat(walletModel.gasView.gasPrice)
|
||||
getGasEthValue: walletModel.gasView.getGasEthValue
|
||||
getFiatValue: walletModel.balanceView.getFiatValue
|
||||
|
@ -129,8 +129,7 @@ ModalPopup {
|
|||
}
|
||||
GasValidator {
|
||||
id: gasValidator
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 8
|
||||
anchors.top: gasSelector.bottom
|
||||
selectedAccount: selectFromAccount.selectedAccount
|
||||
selectedAsset: root.asset
|
||||
selectedAmount: parseFloat(root.assetPrice)
|
||||
|
|
Loading…
Reference in New Issue