aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorbitpshr <mail@bitpshr.net>2018-10-02 08:52:31 +0800
committerDan Finlay <542863+danfinlay@users.noreply.github.com>2018-11-06 07:07:09 +0800
commit89b4aa5d62237f36fac9dcce9c546005ec18968b (patch)
tree38bb13f74680cff733c330b2009eddbf4770a098 /old-ui
parentc76c9ca2c86317f902f443db2c5704d4bf6311c0 (diff)
downloadtangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.gz
tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.tar.zst
tangerine-wallet-browser-89b4aa5d62237f36fac9dcce9c546005ec18968b.zip
EIP-1102: Add option to force-enable provider
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/config.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/old-ui/app/config.js b/old-ui/app/config.js
index 999b556c6..15b0294e6 100644
--- a/old-ui/app/config.js
+++ b/old-ui/app/config.js
@@ -230,6 +230,31 @@ ConfigScreen.prototype.render = function () {
marginTop: '20px',
},
}, [
+ h('p', {
+ style: {
+ fontFamily: 'Montserrat Light',
+ fontSize: '13px',
+ },
+ }, 'Expose accounts to the current website. This is useful for legacy dapps.'),
+ h('br'),
+ h('button', {
+ style: {
+ alignSelf: 'center',
+ },
+ onClick (event) {
+ event.preventDefault()
+ state.dispatch(actions.forceInjection())
+ },
+ }, 'Expose accounts'),
+ ]),
+
+ h('hr.horizontal-line'),
+
+ h('div', {
+ style: {
+ marginTop: '20px',
+ },
+ }, [
h('button', {
style: {
alignSelf: 'center',