Skip to content

Commit

Permalink
other fix
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Jul 31, 2020
1 parent b641b14 commit c359a88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/components/UI/DrawerView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,9 @@ class DrawerView extends PureComponent {
};

onSecureWalletModalAction = () => {
this.setState({ showProtectWalletModal: false });
this.props.navigation.navigate(this.props.passwordSet ? 'AccountBackupStep1' : 'SetPasswordFlow');
this.setState({ showProtectWalletModal: false }, () =>
this.props.navigation.navigate(this.props.passwordSet ? 'AccountBackupStep1' : 'SetPasswordFlow')
);
};

renderProtectModal = () => (
Expand Down

0 comments on commit c359a88

Please sign in to comment.