diff options
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 610bb34c8..6088d17e4 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -320,37 +320,3 @@ App.prototype.toggleMetamaskActive = function(){ } } -function onOffToggle(state){ - var buttonSize = '50px'; - var lockWidth = '20px'; - return ( - h('.app-toggle.flex-row.flex-center.lock' + (state.isUnlocked ? '.unlocked' : '.locked'), { - width: buttonSize, - height: buttonSize, - }, [ - h('div', { - onClick: state.toggleMetamaskActive, - style: { - width: lockWidth, - height: '' + parseInt(lockWidth) * 1.5 + 'px', - position: 'relative', - } - }, [ - h('img.lock-top', { - src: 'images/lock-top.png', - style: { - width: lockWidth, - position: 'absolute', - } - }), - h('img', { - src: 'images/lock-base.png', - style: { - width: lockWidth, - position: 'absolute', - } - }), - ]) - ]) - ) -} |