Add explanation of account resetting

feature/default_network_editable
Dan Finlay 7 years ago
parent 4f61029177
commit 86d56419f4
  1. 20
      ui/app/config.js

@ -150,6 +150,22 @@ ConfigScreen.prototype.render = function () {
marginTop: '20px',
},
}, [
h('p', {
style: {
fontFamily: 'Montserrat Light',
fontSize: '13px',
},
}, [
'Resetting is for developer use only. ',
h('a', {
href: 'http://metamask.helpscoutdocs.com/article/36-resetting-an-account',
target: '_blank',
onClick (event) { this.navigateTo(event.target.href) },
}, 'Read more.'),
]),
h('br'),
h('button', {
style: {
alignSelf: 'center',
@ -237,3 +253,7 @@ function currentProviderDisplay (metamaskState) {
h('span', value),
])
}
ConfigScreen.prototype.navigateTo = function (url) {
global.platform.openWindow({ url })
}

Loading…
Cancel
Save