diff options
author | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:44:40 +0800 |
---|---|---|
committer | Chen Wei <chenwei@byzantine-lab.io> | 2019-07-02 15:44:40 +0800 |
commit | 852df543036aac5d0d24d3a31a24818ac4c114bd (patch) | |
tree | d8758b40eea4ea8bd35aaa2e7255621fffdd702b /ui/app/components | |
parent | ffb58b74793e9b5d5caf36efdc5d7d3867c2e162 (diff) | |
download | tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.gz tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.tar.zst tangerine-wallet-browser-852df543036aac5d0d24d3a31a24818ac4c114bd.zip |
revert replacing "ETH" with "TAN"
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/app/dropdowns/network-dropdown.js | 2 | ||||
-rw-r--r-- | ui/app/components/app/modals/deposit-ether-modal.js | 94 |
2 files changed, 48 insertions, 48 deletions
diff --git a/ui/app/components/app/dropdowns/network-dropdown.js b/ui/app/components/app/dropdowns/network-dropdown.js index 78039ce4a..8563f0771 100644 --- a/ui/app/components/app/dropdowns/network-dropdown.js +++ b/ui/app/components/app/dropdowns/network-dropdown.js @@ -334,7 +334,7 @@ NetworkDropdown.prototype.renderCommonRpc = function (rpcListDetail, provider) { return reversedRpcListDetail.map((entry) => { const rpc = entry.rpcUrl - const ticker = entry.ticker || 'TAN' + const ticker = entry.ticker || 'ETH' const nickname = entry.nickname || '' const currentRpcTarget = provider.type === 'rpc' && rpc === provider.rpcTarget diff --git a/ui/app/components/app/modals/deposit-ether-modal.js b/ui/app/components/app/modals/deposit-ether-modal.js index f56069d65..b95b9aa5f 100644 --- a/ui/app/components/app/modals/deposit-ether-modal.js +++ b/ui/app/components/app/modals/deposit-ether-modal.js @@ -180,53 +180,53 @@ DepositEtherModal.prototype.render = function () { hide: !isTestNetwork || buyingWithShapeshift, }), - this.renderRow({ - logo: h('div.deposit-ether-modal__logo', { - style: { - backgroundImage: 'url(\'./images/wyre.svg\')', - height: '40px', - }, - }), - title: WYRE_ROW_TITLE, - text: WYRE_ROW_TEXT, - buttonLabel: this.context.t('continueToWyre'), - onButtonClick: () => toWyre(address), - hide: isTestNetwork || buyingWithShapeshift, - }), - - this.renderRow({ - logo: h('div.deposit-ether-modal__logo', { - style: { - backgroundImage: 'url(\'./images/coinswitch_logo.png\')', - height: '40px', - }, - }), - title: COINSWITCH_ROW_TITLE, - text: COINSWITCH_ROW_TEXT, - buttonLabel: this.context.t('continueToCoinSwitch'), - onButtonClick: () => toCoinSwitch(address), - hide: isTestNetwork || buyingWithShapeshift, - }), - - this.renderRow({ - logo: h('div.deposit-ether-modal__logo', { - style: { - backgroundImage: 'url(\'./images/shapeshift logo.png\')', - }, - }), - title: SHAPESHIFT_ROW_TITLE, - text: SHAPESHIFT_ROW_TEXT, - buttonLabel: this.context.t('shapeshiftBuy'), - onButtonClick: () => this.setState({ buyingWithShapeshift: true }), - hide: isTestNetwork, - hideButton: buyingWithShapeshift, - hideTitle: buyingWithShapeshift, - onBackClick: () => this.setState({ buyingWithShapeshift: false }), - showBackButton: this.state.buyingWithShapeshift, - className: buyingWithShapeshift && 'deposit-ether-modal__buy-row__shapeshift-buy', - }), - - buyingWithShapeshift && h(ShapeshiftForm), + // this.renderRow({ + // logo: h('div.deposit-ether-modal__logo', { + // style: { + // backgroundImage: 'url(\'./images/wyre.svg\')', + // height: '40px', + // }, + // }), + // title: WYRE_ROW_TITLE, + // text: WYRE_ROW_TEXT, + // buttonLabel: this.context.t('continueToWyre'), + // onButtonClick: () => toWyre(address), + // hide: isTestNetwork || buyingWithShapeshift, + // }), + + // this.renderRow({ + // logo: h('div.deposit-ether-modal__logo', { + // style: { + // backgroundImage: 'url(\'./images/coinswitch_logo.png\')', + // height: '40px', + // }, + // }), + // title: COINSWITCH_ROW_TITLE, + // text: COINSWITCH_ROW_TEXT, + // buttonLabel: this.context.t('continueToCoinSwitch'), + // onButtonClick: () => toCoinSwitch(address), + // hide: isTestNetwork || buyingWithShapeshift, + // }), + + // this.renderRow({ + // logo: h('div.deposit-ether-modal__logo', { + // style: { + // backgroundImage: 'url(\'./images/shapeshift logo.png\')', + // }, + // }), + // title: SHAPESHIFT_ROW_TITLE, + // text: SHAPESHIFT_ROW_TEXT, + // buttonLabel: this.context.t('shapeshiftBuy'), + // onButtonClick: () => this.setState({ buyingWithShapeshift: true }), + // hide: isTestNetwork, + // hideButton: buyingWithShapeshift, + // hideTitle: buyingWithShapeshift, + // onBackClick: () => this.setState({ buyingWithShapeshift: false }), + // showBackButton: this.state.buyingWithShapeshift, + // className: buyingWithShapeshift && 'deposit-ether-modal__buy-row__shapeshift-buy', + // }), + + // buyingWithShapeshift && h(ShapeshiftForm), ]), |