|
|
|
@ -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 }) |
|
|
|
|
} |
|
|
|
|