From b80ceb741512b0d3ac8b6fe49e8fa2ec183963f7 Mon Sep 17 00:00:00 2001 From: Hicham Boushaba Date: Thu, 14 Nov 2024 16:58:02 +0100 Subject: [PATCH] Add a new feature flag --- Experiments/Experiments/DefaultFeatureFlagService.swift | 2 ++ Experiments/Experiments/FeatureFlag.swift | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Experiments/Experiments/DefaultFeatureFlagService.swift b/Experiments/Experiments/DefaultFeatureFlagService.swift index 39ea8e9353d..0b419afd0f9 100644 --- a/Experiments/Experiments/DefaultFeatureFlagService.swift +++ b/Experiments/Experiments/DefaultFeatureFlagService.swift @@ -93,6 +93,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService { return buildConfig == .localDeveloper case .displayInfiniteScrollingUIDetailsInPointOfSale: return buildConfig == .localDeveloper || buildConfig == .alpha + case .jetpackSetupWPComAccountCreation: + return buildConfig == .localDeveloper || buildConfig == .alpha default: return true } diff --git a/Experiments/Experiments/FeatureFlag.swift b/Experiments/Experiments/FeatureFlag.swift index 7dafa9611fb..56bf7cb457e 100644 --- a/Experiments/Experiments/FeatureFlag.swift +++ b/Experiments/Experiments/FeatureFlag.swift @@ -200,4 +200,8 @@ public enum FeatureFlag: Int { /// Enables UI-related aspects of infinite scrolling in POS. It does not affect the actual infinite scrolling behaviour. /// case displayInfiniteScrollingUIDetailsInPointOfSale + + /// Enables WPCom account creation during Jetpack setup + /// + case jetpackSetupWPComAccountCreation }