diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-05-30 05:33:29 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-06-01 01:37:52 +0800 |
commit | f4d833cb09758beb62a65ad4011d16bdb81b33ff (patch) | |
tree | 6a191c3de37c1918a5dda48d5ab084624a9a919f /ui/app/components/modals/export-private-key-modal.js | |
parent | 39d22a4ddb4ba0f4ad456009c86486a433c6724e (diff) | |
download | tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.gz tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.bz2 tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.lz tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.xz tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.tar.zst tangerine-wallet-browser-f4d833cb09758beb62a65ad4011d16bdb81b33ff.zip |
Change btn-secondary styles to btn-default. Make btn-secondary red warning style buttons
Diffstat (limited to 'ui/app/components/modals/export-private-key-modal.js')
-rw-r--r-- | ui/app/components/modals/export-private-key-modal.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/modals/export-private-key-modal.js b/ui/app/components/modals/export-private-key-modal.js index 447e43b7a..80ece425f 100644 --- a/ui/app/components/modals/export-private-key-modal.js +++ b/ui/app/components/modals/export-private-key-modal.js @@ -87,14 +87,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-secondary--lg export-private-key__button export-private-key__button--cancel', + 'btn-default btn--large export-private-key__button export-private-key__button--cancel', () => hideModal(), 'Cancel' ), (privateKey - ? this.renderButton('btn-primary--lg export-private-key__button', () => hideModal(), this.context.t('done')) - : this.renderButton('btn-primary--lg export-private-key__button', () => this.exportAccountAndGetPrivateKey(this.state.password, address), this.context.t('confirm')) + ? this.renderButton('btn-primary btn--large export-private-key__button', () => hideModal(), this.context.t('done')) + : this.renderButton('btn-primary btn--large export-private-key__button', () => this.exportAccountAndGetPrivateKey(this.state.password, address), this.context.t('confirm')) ), ]) |