aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-03-22 23:02:07 +0800
committerGitHub <noreply@github.com>2019-03-22 23:02:07 +0800
commit4ff9126ff2fddba40d3f210c757796458528ef42 (patch)
tree0bb55019edc4b6cfdce5ead408b8c1af8216fb5d /ui/app/components
parent174ec2d596d29a53d6051fe365c25a7c7456e1c8 (diff)
downloadtangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.gz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.bz2
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.lz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.xz
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.tar.zst
tangerine-wallet-browser-4ff9126ff2fddba40d3f210c757796458528ef42.zip
Replaces the coinbase link in the deposit modal with one for wyre (#6302)
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/app/modals/deposit-ether-modal.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/ui/app/components/app/modals/deposit-ether-modal.js b/ui/app/components/app/modals/deposit-ether-modal.js
index 72bb1df89..082ff76a9 100644
--- a/ui/app/components/app/modals/deposit-ether-modal.js
+++ b/ui/app/components/app/modals/deposit-ether-modal.js
@@ -11,8 +11,8 @@ import Button from '../../ui/button'
let DIRECT_DEPOSIT_ROW_TITLE
let DIRECT_DEPOSIT_ROW_TEXT
-let COINBASE_ROW_TITLE
-let COINBASE_ROW_TEXT
+let WYRE_ROW_TITLE
+let WYRE_ROW_TEXT
let SHAPESHIFT_ROW_TITLE
let SHAPESHIFT_ROW_TEXT
let FAUCET_ROW_TITLE
@@ -49,8 +49,8 @@ function DepositEtherModal (props, context) {
// need to set after i18n locale has loaded
DIRECT_DEPOSIT_ROW_TITLE = context.t('directDepositEther')
DIRECT_DEPOSIT_ROW_TEXT = context.t('directDepositEtherExplainer')
- COINBASE_ROW_TITLE = context.t('buyCoinbase')
- COINBASE_ROW_TEXT = context.t('buyCoinbaseExplainer')
+ WYRE_ROW_TITLE = context.t('buyWithWyre')
+ WYRE_ROW_TEXT = context.t('buyWithWyreDescription')
SHAPESHIFT_ROW_TITLE = context.t('depositShapeShift')
SHAPESHIFT_ROW_TEXT = context.t('depositShapeShiftExplainer')
FAUCET_ROW_TITLE = context.t('testFaucet')
@@ -176,13 +176,13 @@ DepositEtherModal.prototype.render = function () {
this.renderRow({
logo: h('div.deposit-ether-modal__logo', {
style: {
- backgroundImage: 'url(\'./images/coinbase logo.png\')',
+ backgroundImage: 'url(\'./images/wyre.svg\')',
height: '40px',
},
}),
- title: COINBASE_ROW_TITLE,
- text: COINBASE_ROW_TEXT,
- buttonLabel: this.context.t('continueToCoinbase'),
+ title: WYRE_ROW_TITLE,
+ text: WYRE_ROW_TEXT,
+ buttonLabel: this.context.t('continueToWyre'),
onButtonClick: () => toCoinbase(address),
hide: isTestNetwork || buyingWithShapeshift,
}),