Skip to content

Commit bc05609

Browse files
authored
Merge pull request #5859 from woocommerce/fix/5855-ghost-reviews-tabbar
Fix ghost "Reviews" label in the tab bar when `hubMenu` feature flag is off
2 parents 79043a4 + e4f0d9c commit bc05609

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WooCommerce/Classes/ViewRelated/Reviews/ReviewsViewController.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,11 @@ private extension ReviewsViewController {
229229
}
230230

231231
func refreshTitle() {
232-
title = Localization.title
232+
if ServiceLocator.featureFlagService.isFeatureFlagEnabled(.hubMenu) {
233+
title = Localization.title
234+
} else {
235+
navigationItem.title = Localization.title
236+
}
233237
}
234238
}
235239

0 commit comments

Comments
 (0)