diff options
author | Zac Mitton <zacmitton22@gmail.com> | 2016-06-02 07:30:14 +0800 |
---|---|---|
committer | Zac Mitton <zacmitton22@gmail.com> | 2016-06-02 07:30:14 +0800 |
commit | 924a65c956bc6bea4708a0f58b688e4edbb5d3f2 (patch) | |
tree | 8d1e8625f3fde88bad425dc210e40834078eb983 /ui/app/actions.js | |
parent | 1d65160ab41bd1a316277200a98ab0f0173f23f1 (diff) | |
download | tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar.gz tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar.bz2 tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar.lz tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar.xz tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.tar.zst tangerine-wallet-browser-924a65c956bc6bea4708a0f58b688e4edbb5d3f2.zip |
network status getting set upon start-up and showing in title bar but not auto-updating yet
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index ae6125b20..982b1a2fb 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -6,6 +6,8 @@ var actions = { toggleMenu: toggleMenu, SET_MENU_STATE: 'SET_MENU_STATE', closeMenu: closeMenu, + getNetworkStatus: 'getNetworkStatus', + // remote state UPDATE_METAMASK_STATE: 'UPDATE_METAMASK_STATE', updateMetamaskState: updateMetamaskState, @@ -131,6 +133,12 @@ function closeMenu() { } } +function getNetworkStatus(){ + return { + type: actions.getNetworkStatus, + } +} + // async actions function tryUnlockMetamask(password) { |