mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Change download to show in Export Private Key Modal
This commit is contained in:
parent
ebb2d38480
commit
6231431894
@ -83,7 +83,7 @@ ExportPrivateKeyModal.prototype.renderButtons = function (privateKey, password,
|
|||||||
|
|
||||||
(privateKey
|
(privateKey
|
||||||
? this.renderButton('btn-clear', () => hideModal(), 'Done')
|
? this.renderButton('btn-clear', () => hideModal(), 'Done')
|
||||||
: this.renderButton('btn-clear', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Download')
|
: this.renderButton('btn-clear', () => this.exportAccountAndGetPrivateKey(this.state.password, address), 'Show')
|
||||||
),
|
),
|
||||||
|
|
||||||
])
|
])
|
||||||
@ -117,7 +117,7 @@ ExportPrivateKeyModal.prototype.render = function () {
|
|||||||
|
|
||||||
h('div.account-modal-divider'),
|
h('div.account-modal-divider'),
|
||||||
|
|
||||||
h('span.modal-body-title', 'Download Private Keys'),
|
h('span.modal-body-title', 'Show Private Keys'),
|
||||||
|
|
||||||
h('div.private-key-password', {}, [
|
h('div.private-key-password', {}, [
|
||||||
this.renderPasswordLabel(privateKey),
|
this.renderPasswordLabel(privateKey),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user