From 1f0de5588d6980b8a0f8cd2db21773f125667c33 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 16 Jun 2016 16:55:45 -0700 Subject: Remove dead code --- ui/app/app.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'ui/app') 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', - } - }), - ]) - ]) - ) -} -- cgit v1.2.3