Show loading indication during unlocking.

feature/default_network_editable
Dan Finlay 8 years ago
parent c97aef2b99
commit 7b6c018c39
  1. 1
      CHANGELOG.md
  2. 2
      ui/app/actions.js

@ -8,6 +8,7 @@
- Block negative values from transactions.
- Fixed a memory leak.
- MetaMask logo now renders as super lightweight SVG, improving compatibility and performance.
- Now showing loading indication during vault unlocking, to clarify behavior for users who are experience slow unlocks.
## 2.10.2 2016-09-02

@ -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 {

Loading…
Cancel
Save