aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-17 07:55:45 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-17 07:55:45 +0800
commit1f0de5588d6980b8a0f8cd2db21773f125667c33 (patch)
tree72e13f6e85016cb0eeb78054456543d4506fcc9b /ui/app/app.js
parent2835112dbfe48f97383f7481925b87733d571651 (diff)
downloadtangerine-wallet-browser-1f0de5588d6980b8a0f8cd2db21773f125667c33.tar.gz
tangerine-wallet-browser-1f0de5588d6980b8a0f8cd2db21773f125667c33.tar.zst
tangerine-wallet-browser-1f0de5588d6980b8a0f8cd2db21773f125667c33.zip
Remove dead code
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js34
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',
- }
- }),
- ])
- ])
- )
-}