diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-16 13:28:25 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-18 13:38:00 +0800 |
commit | 5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2 (patch) | |
tree | 1020f2895a6a8368a2f50597c8bf86512b98a5a9 /ui/app/actions.js | |
parent | ac43872c1a1468057974648c8ae90bf1edd708d7 (diff) | |
download | tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.gz tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.bz2 tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.lz tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.xz tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.zst tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.zip |
wip
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 9744bf67f..7ac0acf05 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -201,6 +201,9 @@ var actions = { callBackgroundThenUpdate, forceUpdateMetamaskState, + + TOGGLE_ACCOUNT_MENU: 'TOGGLE_ACCOUNT_MENU', + toggleAccountMenu, } module.exports = actions @@ -1303,3 +1306,9 @@ function forceUpdateMetamaskState (dispatch) { dispatch(actions.updateMetamaskState(newState)) }) } + +function toggleAccountMenu () { + return { + type: actions.TOGGLE_ACCOUNT_MENU, + } +} |