1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00

Merge pull request #631 from MetaMask/i599-LoginLoadingIndication

Show loading indication during unlocking.
This commit is contained in:
Kevin Serrano 2016-09-09 09:35:41 -07:00 committed by GitHub
commit 348f1fb797
2 changed files with 3 additions and 0 deletions

View File

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

View File

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