Skip to content

Commit

Permalink
Merge pull request #42820 from c3024/41500-show-onboarding-modal-from…
Browse files Browse the repository at this point in the history
…-rhp-signin

show onboarding modal for RHP signin from public rooms for new accounts
  • Loading branch information
grgia authored Jun 12, 2024
2 parents bd2b036 + 70b3dc2 commit 100df70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/signin/SignInModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ScreenWrapper from '@components/ScreenWrapper';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import Navigation from '@libs/Navigation/Navigation';
import * as App from '@userActions/App';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import SCREENS from '@src/SCREENS';
Expand All @@ -27,6 +28,7 @@ function SignInModal({session}: SignInModalProps) {
if (!isAnonymousUser) {
// Signing in RHP is only for anonymous users
Navigation.isNavigationReady().then(() => Navigation.dismissModal());
App.openApp();
}
}, [session?.authTokenType]);

Expand Down

0 comments on commit 100df70

Please sign in to comment.