Skip to content

Commit

Permalink
Fix the disclaimer getting stuck on desktop if revisited before accep…
Browse files Browse the repository at this point in the history
…ting (keybase#20144)
  • Loading branch information
cjb authored Oct 4, 2019
1 parent 053ea29 commit 6d71a94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/wallets/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class _OnboardingOrWallets extends React.Component<OnboardingOrWalletsProps> {
componentDidMount() {
if (!this.props.acceptedDisclaimer) {
this.props.navigation.navigate('onboarding')
} else {
// We might have navigated to onboarding on a previous mount.
this.props.navigation.navigate('walletsubnav')
}
}

Expand Down

0 comments on commit 6d71a94

Please sign in to comment.