diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-04 06:57:23 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-04 06:57:23 +0800 |
commit | 71ef4d85da50c50f767e20623fd30c014ba16ecf (patch) | |
tree | d10e0de00e43bde10f59c741a38df93cffd95806 /ui/app/components/send/to-autocomplete | |
parent | 94a89790dcca3003fde59e8385b8c3d32f36d466 (diff) | |
download | tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar.gz tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar.bz2 tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar.lz tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar.xz tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.tar.zst tangerine-wallet-browser-71ef4d85da50c50f767e20623fd30c014ba16ecf.zip |
design complete
Diffstat (limited to 'ui/app/components/send/to-autocomplete')
-rw-r--r-- | ui/app/components/send/to-autocomplete/to-autocomplete.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/components/send/to-autocomplete/to-autocomplete.js b/ui/app/components/send/to-autocomplete/to-autocomplete.js index 14e30e84c..49ebf49d9 100644 --- a/ui/app/components/send/to-autocomplete/to-autocomplete.js +++ b/ui/app/components/send/to-autocomplete/to-autocomplete.js @@ -4,6 +4,7 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const AccountListItem = require('../account-list-item/account-list-item.component').default const connect = require('react-redux').connect +const Tooltip = require('../../tooltip') ToAutoComplete.contextTypes = { t: PropTypes.func, @@ -109,10 +110,13 @@ ToAutoComplete.prototype.render = function () { borderColor: inError ? 'red' : null, }, }), - qrScanner && h(`i.fa.fa-qrcode.fa-lg.send-v2__to-autocomplete__qr-code`, { + qrScanner && h(Tooltip, { + title: this.context.t('scanQrCode'), + position: 'bottom', + }, h(`i.fa.fa-qrcode.fa-lg.send-v2__to-autocomplete__qr-code`, { style: { color: '#33333' }, onClick: () => this.props.scanQrCode(), - }), + })), !to && h(`i.fa.fa-caret-down.fa-lg.send-v2__to-autocomplete__down-caret`, { style: { color: '#dedede' }, onClick: () => this.handleInputEvent(), |