mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-10-23 03:36:18 +02: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.
|
- 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…
Reference in New Issue
Block a user