diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-27 08:56:58 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-27 08:56:58 +0800 |
commit | ea028e750663b41d5d01ea642f7946ffbbb1287a (patch) | |
tree | 11cc95e5ec2a11f3cfb3756d8fcb3debe67afdb7 /ui | |
parent | 6cd4bc9f4ecb2c4a066da0aceb36d1a24bbe33e2 (diff) | |
download | tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar.gz tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar.bz2 tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar.lz tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar.xz tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.tar.zst tangerine-wallet-browser-ea028e750663b41d5d01ea642f7946ffbbb1287a.zip |
fully working without tweaking ext. permission
Diffstat (limited to 'ui')
4 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/components/send/send-content/send-content.component.js b/ui/app/components/send/send-content/send-content.component.js index 60f97ab32..df7bcb7cc 100644 --- a/ui/app/components/send/send-content/send-content.component.js +++ b/ui/app/components/send/send-content/send-content.component.js @@ -20,7 +20,7 @@ export default class SendContent extends Component { <div className="send-v2__form"> <SendFromRow /> <SendToRow - updateGas={(updateData) => this.props.updateGas(updateData)} + updateGas={(updateData) => this.props.updateGas(updateData)} scanQrCode={ _ => this.props.scanQrCode()} /> <SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} /> diff --git a/ui/app/components/send/send-content/send-to-row/send-to-row.component.js b/ui/app/components/send/send-content/send-to-row/send-to-row.component.js index 321d1cfac..1163dcffc 100644 --- a/ui/app/components/send/send-content/send-to-row/send-to-row.component.js +++ b/ui/app/components/send/send-content/send-to-row/send-to-row.component.js @@ -17,6 +17,7 @@ export default class SendToRow extends Component { updateGas: PropTypes.func, updateSendTo: PropTypes.func, updateSendToError: PropTypes.func, + scanQrCode: PropTypes.func, }; static contextTypes = { diff --git a/ui/app/components/send/send.selectors.js b/ui/app/components/send/send.selectors.js index 4e81d1f9e..ab3f6d34b 100644 --- a/ui/app/components/send/send.selectors.js +++ b/ui/app/components/send/send.selectors.js @@ -286,4 +286,4 @@ function transactionsSelector (state) { function getQrCodeData (state) { return state.appState.qrCodeData -}
\ No newline at end of file +} diff --git a/ui/app/components/send/to-autocomplete/to-autocomplete.js b/ui/app/components/send/to-autocomplete/to-autocomplete.js index 2b8923dd1..14e30e84c 100644 --- a/ui/app/components/send/to-autocomplete/to-autocomplete.js +++ b/ui/app/components/send/to-autocomplete/to-autocomplete.js @@ -99,7 +99,7 @@ ToAutoComplete.prototype.render = function () { return h('div.send-v2__to-autocomplete', {}, [ - h(`input.send-v2__to-autocomplete__input${qrScanner?'.with-qr':''}`, { + h(`input.send-v2__to-autocomplete__input${qrScanner ? '.with-qr' : ''}`, { placeholder: this.context.t('recipientAddress'), className: inError ? `send-v2__error-border` : '', value: to, |