aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index d800091f2..0cc55136f 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -447,11 +447,12 @@ function updateMetamaskState (newState) {
function lockMetamask () {
return (dispatch) => {
- background.setLocked((err) => {
+ background.setLocked((err, newState) => {
dispatch(actions.hideLoadingIndication())
if (err) {
return dispatch(actions.displayWarning(err.message))
}
+ dispatch(actions.updateMetamaskState(newState))
})
}
}