aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/export-private-key-modal.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2018-01-13 05:41:46 +0800
committerGitHub <noreply@github.com>2018-01-13 05:41:46 +0800
commit89a8267fe70b62739043c09e855d6aa97af8769e (patch)
tree5f360e4a65a0768817913e99840e3705439432e2 /ui/app/components/modals/export-private-key-modal.js
parentbdcee058dc278c46c828f376476f121417481385 (diff)
parent613465fe965d41e0f0936aec499a4691c0191963 (diff)
downloadtangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar.gz
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar.bz2
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar.lz
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar.xz
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.tar.zst
tangerine-wallet-browser-89a8267fe70b62739043c09e855d6aa97af8769e.zip
Merge pull request #2928 from alextsg/cb-388
[NewUI] Update main view styling
Diffstat (limited to 'ui/app/components/modals/export-private-key-modal.js')
-rw-r--r--ui/app/components/modals/export-private-key-modal.js10
1 files changed, 7 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 193755df5..422f23f44 100644
--- a/ui/app/components/modals/export-private-key-modal.js
+++ b/ui/app/components/modals/export-private-key-modal.js
@@ -79,11 +79,15 @@ 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-clear btn-cancel', () => hideModal(), 'Cancel'),
+ !privateKey && this.renderButton(
+ 'btn-cancel export-private-key__button export-private-key__button--cancel',
+ () => hideModal(),
+ 'Cancel'
+ ),
(privateKey
- ? this.renderButton('btn-clear', () => hideModal(), 'Done')
- : this.renderButton('btn-clear', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Show')
+ ? this.renderButton('btn-clear export-private-key__button', () => hideModal(), 'Done')
+ : this.renderButton('btn-clear export-private-key__button', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Confirm')
),
])