aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2016-06-04 06:40:41 +0800
committerkumavis <kumavis@users.noreply.github.com>2016-06-04 06:40:41 +0800
commitb3520ee0ef9e36e8b62e10ae1547c18623234783 (patch)
treeb094a08b9ebe437f5b61d8d0749ff6fd995e908f /ui/app/actions.js
parent6dec937c2a3b72cd5863edef1ced818fe32e43f0 (diff)
parentb2b4b4dd25da0ac27fe2bcdb745ead9b193b6d9c (diff)
downloadtangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar.gz
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar.bz2
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar.lz
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar.xz
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.tar.zst
tangerine-wallet-browser-b3520ee0ef9e36e8b62e10ae1547c18623234783.zip
Merge pull request #245 from MetaMask/display_network
Display network
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 684d33f3d..dd38c5f0a 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,
@@ -135,6 +137,12 @@ function closeMenu() {
}
}
+function getNetworkStatus(){
+ return {
+ type: actions.getNetworkStatus,
+ }
+}
+
// async actions
function tryUnlockMetamask(password) {