Skip to content

Commit 7cfa850

Browse files
committed
Hide analytics hub button behind feature flag
1 parent 2c15d73 commit 7cfa850

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Stats v4/StoreStatsAndTopPerformersPeriodViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@ private extension StoreStatsAndTopPerformersPeriodViewController {
292292
])
293293

294294
// Analytics Hub ("See more") button
295-
stackView.addArrangedSubview(analyticsHubButtonView)
295+
if ServiceLocator.featureFlagService.isFeatureFlagEnabled(.analyticsHub) {
296+
stackView.addArrangedSubview(analyticsHubButtonView)
297+
}
296298

297299
// In-app Feedback Card
298300
stackView.addArrangedSubviews(inAppFeedbackCardViewsForStackView)

0 commit comments

Comments
 (0)