Skip to content

Commit

Permalink
Add Site Editor MVP feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdchr committed May 4, 2023
1 parent e9c753c commit 5984b0d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -125,6 +126,8 @@ enum FeatureFlag: Int, CaseIterable {
return true
case .personalizeHomeTab:
return false
case .siteEditorMVP:
return BuildConfiguration.current != .appStore
}
}

Expand Down Expand Up @@ -221,6 +224,8 @@ extension FeatureFlag {
return "Reader User Blocking"
case .personalizeHomeTab:
return "Personalize Home Tab"
case .siteEditorMVP:
return "Site Editor MVP"
}
}
}
Expand Down

0 comments on commit 5984b0d

Please sign in to comment.