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:
parent
95582f8bde
commit
d929f80532
@ -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 {
|
||||
|
@ -109,7 +109,9 @@ function reduceApp(state, action) {
|
||||
case actions.UNLOCK_METAMASK:
|
||||
return extend(appState, {
|
||||
currentView: {},
|
||||
detailView: {},
|
||||
transForward: true,
|
||||
isLoading: false,
|
||||
warning: null,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user