Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable PPO when logged out #2263

Closed
wants to merge 2 commits into from

Conversation

stevestreza-ksr
Copy link
Contributor

📲 What

Disables PPO tab when the user is logged out.

🤔 Why

It shows an error when logged out, and not the CTA to log in.

🛠 How

Changes to RootViewModel to add "isLoggedIn" support to the signal that regenerates view controllers.

This does mean that the "personalizedViewControllers" function is maybe a little redundant but that's bigger than this PR change.

✅ Acceptance criteria

  • When logged in (and after logging in), the activity tab should show PPO when the feature flag is enabled
  • When logged out (and after logging out), the activity tab should NOT show PPO

@stevestreza-ksr
Copy link
Contributor Author

Will redo this, it was broken in QA party

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant