From e90f6fa25cef7bd6979a277020f42a1a45a50fca Mon Sep 17 00:00:00 2001 From: Sabrina Tardio <44158575+SabrinaTardio@users.noreply.github.com> Date: Thu, 9 Jan 2025 12:57:35 +0100 Subject: [PATCH] restrict new onboarding to macOS 13 and above (#3716) 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. --- DuckDuckGo/Tab/Model/Tab.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DuckDuckGo/Tab/Model/Tab.swift b/DuckDuckGo/Tab/Model/Tab.swift index bf7fdacf36..8266a42ae9 100644 --- a/DuckDuckGo/Tab/Model/Tab.swift +++ b/DuckDuckGo/Tab/Model/Tab.swift @@ -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) }