Skip to content

Commit

Permalink
don't navigate user to anywhere in small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jun 20, 2024
1 parent 29e4c54 commit ea71f7e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ function BaseOnboardingPersonalDetails({currentUserPersonalDetails, shouldUseNat

// Only navigate to concierge chat when central pane is visible
// Otherwise stay on the chats screen.
if (isSmallScreenWidth) {
Navigation.navigate(ROUTES.HOME);
} else if (AccountUtils.isAccountIDOddNumber(accountID ?? 0)) {
Report.navigateToSystemChat();
} else {
Report.navigateToConciergeChat();
if (!isSmallScreenWidth) {
if (AccountUtils.isAccountIDOddNumber(accountID ?? 0)) {
Report.navigateToSystemChat();
} else {
Report.navigateToConciergeChat();
}
}

// Small delay purely due to design considerations,
Expand Down

0 comments on commit ea71f7e

Please sign in to comment.