Skip to content

Commit 83036c1

Browse files
authored
Merge pull request #7732 from woocommerce/issue/remove-widgets-feature-flag
Widgets: Remove Feature Flag
2 parents d807481 + 6529ff7 commit 83036c1

File tree

4 files changed

+2
-9
lines changed

4 files changed

+2
-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
}

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
10.4
44
-----
5+
- [***] Stats: Now you can add a Today's Stats Widget to your homescreen to monitor your sales. [https://github.com/woocommerce/woocommerce-ios/pull/7732]
56
- [*] Help center: Added help center web page with FAQs for "Pick a WooCommerce Store" screen. [https://github.com/woocommerce/woocommerce-ios/pull/7641]
67
- [*] In-Person Payments: Fixed a bug where cancelling a card reader connection would temporarily prevent further connections [https://github.com/woocommerce/woocommerce-ios/pull/7689]
78
- [*] In-Person Payments: Improvements to the card reader connection flow UI [https://github.com/woocommerce/woocommerce-ios/pull/7687]

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 {
@@ -24,7 +22,7 @@ struct StoreInfoWidget: Widget {
2422
}
2523
.configurationDisplayName(Localization.title)
2624
.description(Localization.description)
27-
.supportedFamilies(enableWidgets ? [.systemMedium] : [])
25+
.supportedFamilies([.systemMedium])
2826
}
2927
}
3028

0 commit comments

Comments
 (0)