Skip to content

Commit

Permalink
restrict new onboarding to macOS 13 and above (#3716)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/0/1209114783599171/f

**Description**: Will limit the onboarding experiment to macOS version
from 13 and above. This is only temporary until we merge the new C-S-S
version containing the fixed FE app.
  • Loading branch information
SabrinaTardio authored Jan 9, 2025
1 parent fa0661f commit e90f6fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DuckDuckGo/Tab/Model/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,8 @@ protocol NewWindowPolicyDecisionMaker {
return
}
#endif

if PixelExperiment.cohort == .newOnboarding {
setContent(.onboarding)
if #available(macOS 13, *) {
setContent(PixelExperiment.cohort == .newOnboarding ? .onboarding : .onboardingDeprecated)
} else {
setContent(.onboardingDeprecated)
}
Expand Down

0 comments on commit e90f6fa

Please sign in to comment.