1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Fix routing bug

Where sometimes the account list was shown when first unlocking, after momentarily showing the detail panel.
This commit is contained in:
Dan Finlay 2016-05-04 20:37:39 -07:00
parent 95582f8bde
commit d929f80532
2 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,6 @@ function tryUnlockMetamask(password) {
return (dispatch) => {
dispatch(this.unlockInProgress())
_accountManager.submitPassword(password, (err, selectedAccount) => {
dispatch(this.hideLoadingIndication())
if (err) {
dispatch(this.unlockFailed())
} else {

View File

@ -109,7 +109,9 @@ function reduceApp(state, action) {
case actions.UNLOCK_METAMASK:
return extend(appState, {
currentView: {},
detailView: {},
transForward: true,
isLoading: false,
warning: null,
})