-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Bugfix FXIOS-10509 β [Experiment] The Menu Redesign CFR should be displayed for new users that have seen the old menu #23090
Conversation
β¦played for new users that have seen the old menu
Client.app: Coverage: 30.15
Generated by π« Danger Swift against 3d6bb7e |
if InstallType.get() == .fresh { | ||
if let photonMainMenuShown = profile.prefs.boolForKey(PrefsKeys.PhotonMainMenuShown), | ||
photonMainMenuShown { | ||
return viewProvider.shouldPresentContextualHint() ? true : false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused here
return viewProvider.shouldPresentContextualHint() ? true : false
if true return true and if false return false? Why are we doing this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is true... changed it! Thank you!
@Mergifyio backport release/v133 |
β Backports have been created
|
β¦users that have seen the old menu (#23090) * FXIOS-10509 #23042 β [Experiment] The Menu Redesign CFR should be displayed for new users that have seen the old menu * Refactored two lines of code (cherry picked from commit a8321d3)
β¦played for new users that have seen the old menu (backport #23090) (#23105) Bugfix FXIOS-10509 [Menu] [CFR] Menu CFR should be displayed for new users that have seen the old menu (#23090) * FXIOS-10509 #23042 β [Experiment] The Menu Redesign CFR should be displayed for new users that have seen the old menu * Refactored two lines of code (cherry picked from commit a8321d3) Co-authored-by: dicarobinho <61138287+dicarobinho@users.noreply.github.com>
π Tickets
Jira ticket
Github issue
π‘ Description
Display the Menu CFR for fresh installs but only fot the users that have seen before the old menu
π Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)