1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Remove dead code

This commit is contained in:
Dan Finlay 2016-06-16 16:55:45 -07:00
parent 2835112dbf
commit 1f0de5588d

View File

@ -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',
}
}),
])
])
)
}