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:
commit
348f1fb797
@ -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…
Reference in New Issue
Block a user