Fix: add callback after unlocking

This commit is contained in:
Thomas Zarebczan 2019-10-21 12:59:19 -04:00
parent 3bd42f1048
commit f74d73f2dc

View file

@ -105,6 +105,7 @@ export default class SplashScreen extends React.PureComponent<Props, State> {
// Fix wallet bug and reset encryption status // Fix wallet bug and reset encryption status
if (walletStatus.is_encrypted && walletStatus.is_locked === false) { if (walletStatus.is_encrypted && walletStatus.is_locked === false) {
this.setState({ launchedModal: true }, () => notifyUnlockWallet()); this.setState({ launchedModal: true }, () => notifyUnlockWallet());
this.updateStatusCallback(status, true);
} else if (walletStatus.is_locked) { } else if (walletStatus.is_locked) {
// Clear the error timeout, it might sit on this step for a while until someone enters their password // Clear the error timeout, it might sit on this step for a while until someone enters their password
if (this.timeout) { if (this.timeout) {