Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
war-in committed Oct 31, 2024
1 parent e1562bb commit efde805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,12 +513,12 @@ function signInAfterTransitionFromOldDot(transitionURL: string) {
return new Promise<Route>((resolve) => {
clearOnyxBeforeSignIn()
.then(() => {
const dismissed = useNewDotSignInPage === 'true' ? 'false' : 'false';
const dismissed = useNewDotSignInPage === 'true' ? 'true' : 'false';
Onyx.multiSet({
[ONYXKEYS.USE_NEWDOT_SIGN_IN_PAGE]: useNewDotSignInPage === 'true',
[ONYXKEYS.NVP_TRYNEWDOT]: {classicRedirect: {dismissed}}, // This data is mocked and should be returned by BeginSignUp/SignInUser API commands
[ONYXKEYS.HYBRID_APP]: {
readyToSwitchToClassicExperience: false,
readyToSwitchToClassicExperience: useNewDotSignInPage !== 'true',
readyToShowAuthScreens: useNewDotSignInPage !== 'true',
isSigningIn: false,
},
Expand Down

0 comments on commit efde805

Please sign in to comment.