Skip to content

Commit 8005067

Browse files
committed
Fix typo for the feature flag name
1 parent be80007 commit 8005067

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3737
return buildConfig == .localDeveloper || buildConfig == .alpha
3838
case .myStoreTabUpdates:
3939
return true
40-
case .couponsView:
40+
case .couponView:
4141
return true
4242
case .productSKUInputScanner:
4343
return true

Experiments/Experiments/FeatureFlag.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public enum FeatureFlag: Int {
7676

7777
/// Displays the option to view coupons
7878
///
79-
case couponsView
79+
case couponView
8080

8181
/// Barcode scanner for product SKU input
8282
///

WooCommerce/Classes/ViewRelated/Dashboard/Settings/Beta features/BetaFeaturesViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private extension BetaFeaturesViewController {
119119
}
120120

121121
func couponManagementSection() -> Section? {
122-
guard ServiceLocator.featureFlagService.isFeatureFlagEnabled(.couponsView) else {
122+
guard ServiceLocator.featureFlagService.isFeatureFlagEnabled(.couponView) else {
123123
return nil
124124
}
125125
return Section(rows: [.couponManagement,

0 commit comments

Comments
 (0)