Skip to content

Commit ffd14f9

Browse files
committed
Remove Widgets Feature Flag
1 parent f378109 commit ffd14f9

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3333
return true
3434
case .promptToEnableCodInIppOnboarding:
3535
return true
36-
case .storeWidgets:
37-
return buildConfig == .localDeveloper || buildConfig == .alpha
3836
default:
3937
return true
4038
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,4 @@ public enum FeatureFlag: Int {
6969
/// Whether to include the Cash on Delivery enable step in In-Person Payment onboarding
7070
///
7171
case promptToEnableCodInIppOnboarding
72-
73-
/// Enables home screen store widgets.
74-
///
75-
case storeWidgets
7672
}

WooCommerce/StoreWidgets/StoreInfoWidget.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import Experiments
77
///
88
struct StoreInfoWidget: Widget {
99

10-
let enableWidgets = DefaultFeatureFlagService().isFeatureFlagEnabled(.storeWidgets)
11-
1210
var body: some WidgetConfiguration {
1311
StaticConfiguration(kind: WooConstants.storeInfoWidgetKind, provider: StoreInfoProvider()) { entry in
1412
Group {
@@ -23,7 +21,7 @@ struct StoreInfoWidget: Widget {
2321
}
2422
}
2523
.configurationDisplayName(Localization.storeInfo)
26-
.supportedFamilies(enableWidgets ? [.systemMedium] : [])
24+
.supportedFamilies([.systemMedium])
2725
}
2826
}
2927

0 commit comments

Comments
 (0)