File tree Expand file tree Collapse file tree 3 files changed +1
-11
lines changed
Modules/Sources/Experiments
WooCommerce/Classes/POS/Presentation Expand file tree Collapse file tree 3 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
9797 return true
9898 case . searchProductsInPOSPt2PopularProducts:
9999 return true
100- case . searchCouponsInPOS:
101- return true
102100 case . inventoryProductLabelsInPOS:
103101 return false
104102 case . pointOfSaleReceipts:
Original file line number Diff line number Diff line change @@ -209,10 +209,6 @@ public enum FeatureFlag: Int {
209209 ///
210210 case searchProductsInPOSPt2PopularProducts
211211
212- /// Allows searching coupons in POS
213- ///
214- case searchCouponsInPOS
215-
216212 /// Enables optimized handling of product images
217213 ///
218214 case productImageOptimizedHandling
Original file line number Diff line number Diff line change @@ -54,10 +54,6 @@ struct ItemListView: View {
5454 ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . searchProductsInPOS)
5555 }
5656
57- private var isSearchCouponsFeatureEnabled : Bool {
58- ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . searchCouponsInPOS)
59- }
60-
6157 private var isBarcodeScani1FeatureEnabled : Bool {
6258 ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . pointOfSaleBarcodeScanningi1)
6359 }
@@ -77,7 +73,7 @@ struct ItemListView: View {
7773 case . products:
7874 return isSearchProductsFeatureEnabled
7975 case . coupons:
80- return isSearchCouponsFeatureEnabled
76+ return true
8177 }
8278 }
8379
You can’t perform that action at this time.
0 commit comments