aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2018-02-01 06:30:58 +0800
committerDan Finlay <dan@danfinlay.com>2018-02-01 06:31:56 +0800
commit86d56419f4ff141eb566075c554ad74f16c66c0e (patch)
tree8979f2399e8c576473e4b16a3328ce34cdbce3d8
parent4f610291774fcc3b60f274855fc1cc209a4893c9 (diff)
downloadtangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar.gz
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar.bz2
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar.lz
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar.xz
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.tar.zst
tangerine-wallet-browser-86d56419f4ff141eb566075c554ad74f16c66c0e.zip
Add explanation of account resetting
-rw-r--r--ui/app/config.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/ui/app/config.js b/ui/app/config.js
index 9b9cac4bf..42066c647 100644
--- a/ui/app/config.js
+++ b/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 })
+}