Skip to content

Commit

Permalink
Add a new feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Nov 15, 2024
1 parent ced1d21 commit b80ceb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Experiments/Experiments/DefaultFeatureFlagService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 4 additions & 0 deletions Experiments/Experiments/FeatureFlag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit b80ceb7

Please sign in to comment.