Merge pull request #2431 from alextsg/nu-2406

[NewUI] Change all "Buy" to "Deposit"
feature/default_network_editable
Chi Kei Chan 7 years ago committed by GitHub
commit 8de0292d66
  1. 2
      ui/app/components/buy-button-subview.js
  2. 4
      ui/app/components/modals/buy-options-modal.js
  3. 2
      ui/app/components/tx-view.js

@ -76,7 +76,7 @@ BuyButtonSubview.prototype.headerSubview = function () {
paddingTop: '4px', paddingTop: '4px',
paddingBottom: '4px', paddingBottom: '4px',
}, },
}, 'Buy Eth'), }, 'Deposit Eth'),
]), ]),
// loading indication // loading indication

@ -42,7 +42,7 @@ BuyOptions.prototype.render = function () {
h('div.buy-modal-content-title', { h('div.buy-modal-content-title', {
style: {}, style: {},
}, 'Transfers'), }, 'Transfers'),
h('div', {}, 'How would you like to buy Ether?'), h('div', {}, 'How would you like to deposit Ether?'),
]), ]),
h('div.buy-modal-content-options.flex-column.flex-center', {}, [ h('div.buy-modal-content-options.flex-column.flex-center', {}, [
@ -54,7 +54,7 @@ BuyOptions.prototype.render = function () {
}, },
}, [ }, [
h('div.buy-modal-content-option-title', {}, 'Coinbase'), h('div.buy-modal-content-option-title', {}, 'Coinbase'),
h('div.buy-modal-content-option-subtitle', {}, 'Buy with Fiat'), h('div.buy-modal-content-option-subtitle', {}, 'Deposit with Fiat'),
]), ]),
// h('div.buy-modal-content-option', {}, [ // h('div.buy-modal-content-option', {}, [

@ -73,7 +73,7 @@ TxView.prototype.renderButtons = function () {
onClick: () => showModal({ onClick: () => showModal({
name: 'BUY', name: 'BUY',
}), }),
}, 'BUY'), }, 'DEPOSIT'),
h('button.btn-clear', { h('button.btn-clear', {
style: { style: {

Loading…
Cancel
Save