aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-09-09 10:53:54 +0800
committerDan Finlay <dan@danfinlay.com>2016-09-09 10:53:54 +0800
commit7b6c018c3978f11d05fe3854a1f4072d3446b4b2 (patch)
tree3f154ea80992a99d359e1e42e60ff2f5838e21a3 /ui/app/actions.js
parentc97aef2b997e32aeab61d2a81a6513f237c66a31 (diff)
downloadtangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar.gz
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar.bz2
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar.lz
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar.xz
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.tar.zst
tangerine-wallet-browser-7b6c018c3978f11d05fe3854a1f4072d3446b4b2.zip
Show loading indication during unlocking.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index d49223e71..57c2bf3e8 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -162,8 +162,10 @@ function goHome () {
function tryUnlockMetamask (password) {
return (dispatch) => {
+ dispatch(actions.showLoadingIndication())
dispatch(actions.unlockInProgress())
_accountManager.submitPassword(password, (err, selectedAccount) => {
+ dispatch(actions.hideLoadingIndication())
if (err) {
dispatch(actions.unlockFailed())
} else {