mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Add action to hide loading indication on an incorrect pw.
This commit is contained in:
parent
0c82c520fe
commit
889132b16c
@ -269,7 +269,10 @@ function requestRevealSeed (password) {
|
|||||||
dispatch(actions.showLoadingIndication())
|
dispatch(actions.showLoadingIndication())
|
||||||
log.debug(`background.submitPassword`)
|
log.debug(`background.submitPassword`)
|
||||||
background.submitPassword(password, (err) => {
|
background.submitPassword(password, (err) => {
|
||||||
if (err) return dispatch(actions.displayWarning(err.message))
|
if (err) {
|
||||||
|
dispatch(actions.hideLoadingIndication())
|
||||||
|
return dispatch(actions.displayWarning(err.message))
|
||||||
|
}
|
||||||
log.debug(`background.placeSeedWords`)
|
log.debug(`background.placeSeedWords`)
|
||||||
background.placeSeedWords((err) => {
|
background.placeSeedWords((err) => {
|
||||||
if (err) return dispatch(actions.displayWarning(err.message))
|
if (err) return dispatch(actions.displayWarning(err.message))
|
||||||
|
Loading…
Reference in New Issue
Block a user