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. - Block negative values from transactions.
- Fixed a memory leak. - Fixed a memory leak.
- MetaMask logo now renders as super lightweight SVG, improving compatibility and performance. - 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 ## 2.10.2 2016-09-02

@ -162,8 +162,10 @@ function goHome () {
function tryUnlockMetamask (password) { function tryUnlockMetamask (password) {
return (dispatch) => { return (dispatch) => {
dispatch(actions.showLoadingIndication())
dispatch(actions.unlockInProgress()) dispatch(actions.unlockInProgress())
_accountManager.submitPassword(password, (err, selectedAccount) => { _accountManager.submitPassword(password, (err, selectedAccount) => {
dispatch(actions.hideLoadingIndication())
if (err) { if (err) {
dispatch(actions.unlockFailed()) dispatch(actions.unlockFailed())
} else { } else {

Loading…
Cancel
Save