diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-19 03:30:03 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-19 03:30:03 +0800 |
commit | d18d9a8f97216afae4a6c9d8d659952ed5cba765 (patch) | |
tree | f4622bd27a49bf8feaacf633ecb69ff5e9f4fdf7 /ui/app/reducers | |
parent | 06557d7900b77a80eaa7e305d55182a6d0c10db5 (diff) | |
download | tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar.gz tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar.bz2 tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar.lz tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar.xz tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.tar.zst tangerine-wallet-browser-d18d9a8f97216afae4a6c9d8d659952ed5cba765.zip |
Add animated sandwich button
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index 0e0740c9d..a7429c8fb 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -22,6 +22,7 @@ function reduceApp(state, action) { var seedWords = state.metamask.seedWords var appState = extend({ + menuOpen: false, currentView: seedWords ? seedConfView : defaultView, accountDetail: { subview: 'transactions', @@ -34,6 +35,11 @@ function reduceApp(state, action) { switch (action.type) { + case actions.TOGGLE_MENU: + return extend(appState, { + menuOpen: !appState.menuOpen, + }) + // intialize case actions.SHOW_CREATE_VAULT: |