Skip to content

Commit 6f8fe22

Browse files
committed
Disable AppLinkWidget behind feature flag
1 parent c5e1fbb commit 6f8fe22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/StoreWidgets/Lockscreen/AppLinkWidget.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import Experiments
55
/// Static widget - app launch button
66
///
77
struct AppLinkWidget: Widget {
8+
private let enableLockscreenWidgets = DefaultFeatureFlagService().isFeatureFlagEnabled(.lockscreenWidgets)
9+
810
private var supportedFamilies: [WidgetFamily] {
9-
if #available(iOSApplicationExtension 16.0, *) {
11+
if #available(iOSApplicationExtension 16.0, *), enableLockscreenWidgets {
1012
return [.accessoryCircular]
1113
} else {
1214
return []

0 commit comments

Comments
 (0)