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