|
|
|
@ -396,6 +396,7 @@ SendTransactionScreen.prototype.renderAmountRow = function () { |
|
|
|
|
amount, |
|
|
|
|
setMaxModeTo, |
|
|
|
|
maxModeOn, |
|
|
|
|
gasTotal, |
|
|
|
|
} = this.props |
|
|
|
|
|
|
|
|
|
return h('div.send-v2__form-row', [ |
|
|
|
@ -403,7 +404,7 @@ SendTransactionScreen.prototype.renderAmountRow = function () { |
|
|
|
|
h('div.send-v2__form-label', [ |
|
|
|
|
'Amount:', |
|
|
|
|
this.renderErrorMessage('amount'), |
|
|
|
|
!errors.amount && h('div.send-v2__amount-max', { |
|
|
|
|
!errors.amount && gasTotal && h('div.send-v2__amount-max', { |
|
|
|
|
onClick: (event) => { |
|
|
|
|
event.preventDefault() |
|
|
|
|
setMaxModeTo(true) |
|
|
|
|