diff options
Diffstat (limited to 'old-ui/app')
-rw-r--r-- | old-ui/app/config.js | 25 |
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', |