From 5984b0d8c1f329bfe9300b5e392717d27fb71a5e Mon Sep 17 00:00:00 2001 From: David Christiandy <1299411+dvdchr@users.noreply.github.com> Date: Fri, 5 May 2023 00:29:18 +0700 Subject: [PATCH] Add Site Editor MVP feature flag --- WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift b/WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift index 12f93d278812..012870277dfb 100644 --- a/WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift +++ b/WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift @@ -39,6 +39,7 @@ enum FeatureFlag: Int, CaseIterable { case siteCreationDomainPurchasing case readerUserBlocking case personalizeHomeTab + case siteEditorMVP /// Returns a boolean indicating if the feature is enabled var enabled: Bool { @@ -125,6 +126,8 @@ enum FeatureFlag: Int, CaseIterable { return true case .personalizeHomeTab: return false + case .siteEditorMVP: + return BuildConfiguration.current != .appStore } } @@ -221,6 +224,8 @@ extension FeatureFlag { return "Reader User Blocking" case .personalizeHomeTab: return "Personalize Home Tab" + case .siteEditorMVP: + return "Site Editor MVP" } } }