diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-03-28 04:28:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 04:28:58 +0800 |
commit | 8648aee907bb67e4a0e80ee6f67562046f302ef5 (patch) | |
tree | fa24bed0df96260e0271f93d3f99977613e6a566 /ui/app/components/modals | |
parent | 775275e1387c140fabb3ddbef5544af0dcbc4df0 (diff) | |
parent | 0fe0d8b7a5ec3a143ece38df4d0811b6de02b63f (diff) | |
download | tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.gz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.bz2 tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.lz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.xz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.zst tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.zip |
Merge branch 'master' into selenium-e2e
Diffstat (limited to 'ui/app/components/modals')
-rw-r--r-- | ui/app/components/modals/account-details-modal.js | 4 | ||||
-rw-r--r-- | ui/app/components/modals/deposit-ether-modal.js | 2 | ||||
-rw-r--r-- | ui/app/components/modals/export-private-key-modal.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/components/modals/account-details-modal.js b/ui/app/components/modals/account-details-modal.js index 75f989e86..927d73482 100644 --- a/ui/app/components/modals/account-details-modal.js +++ b/ui/app/components/modals/account-details-modal.js @@ -63,12 +63,12 @@ AccountDetailsModal.prototype.render = function () { h('div.account-modal-divider'), - h('button.btn-clear.account-modal__button', { + h('button.btn-primary.account-modal__button', { onClick: () => global.platform.openWindow({ url: genAccountLink(address, network) }), }, t('etherscanView')), // Holding on redesign for Export Private Key functionality - h('button.btn-clear.account-modal__button', { + h('button.btn-primary.account-modal__button', { onClick: () => showExportPrivateKeyModal(), }, t('exportPrivateKey')), diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js index b642513d7..2de1240fc 100644 --- a/ui/app/components/modals/deposit-ether-modal.js +++ b/ui/app/components/modals/deposit-ether-modal.js @@ -94,7 +94,7 @@ DepositEtherModal.prototype.renderRow = function ({ ]), !hideButton && h('div.deposit-ether-modal__buy-row__button', [ - h('button.deposit-ether-modal__deposit-button', { + h('button.btn-primary--lg.deposit-ether-modal__deposit-button', { onClick: onButtonClick, }, [buttonLabel]), ]), diff --git a/ui/app/components/modals/export-private-key-modal.js b/ui/app/components/modals/export-private-key-modal.js index 017177cfd..cf42e4fa2 100644 --- a/ui/app/components/modals/export-private-key-modal.js +++ b/ui/app/components/modals/export-private-key-modal.js @@ -81,14 +81,14 @@ ExportPrivateKeyModal.prototype.renderButton = function (className, onClick, lab ExportPrivateKeyModal.prototype.renderButtons = function (privateKey, password, address, hideModal) { return h('div.export-private-key-buttons', {}, [ !privateKey && this.renderButton( - 'btn-cancel export-private-key__button export-private-key__button--cancel', + 'btn-secondary--lg export-private-key__button export-private-key__button--cancel', () => hideModal(), 'Cancel' ), (privateKey - ? this.renderButton('btn-clear export-private-key__button', () => hideModal(), t('done')) - : this.renderButton('btn-clear export-private-key__button', () => this.exportAccountAndGetPrivateKey(this.state.password, address), t('confirm')) + ? this.renderButton('btn-primary--lg export-private-key__button', () => hideModal(), t('done')) + : this.renderButton('btn-primary--lg export-private-key__button', () => this.exportAccountAndGetPrivateKey(this.state.password, address), t('confirm')) ), ]) |