@@ -213,13 +213,11 @@ private extension DashboardViewController {
213213 }
214214
215215 func configureDashboardUIContainer( ) {
216- if ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . largeTitles) {
217- hiddenScrollView. configureForLargeTitleWorkaround ( )
218- // Adds the "hidden" scroll view to the root of the UIViewController for large titles.
219- view. addSubview ( hiddenScrollView)
220- hiddenScrollView. translatesAutoresizingMaskIntoConstraints = false
221- view. pinSubviewToAllEdges ( hiddenScrollView, insets: . zero)
222- }
216+ hiddenScrollView. configureForLargeTitleWorkaround ( )
217+ // Adds the "hidden" scroll view to the root of the UIViewController for large titles.
218+ view. addSubview ( hiddenScrollView)
219+ hiddenScrollView. translatesAutoresizingMaskIntoConstraints = false
220+ view. pinSubviewToAllEdges ( hiddenScrollView, insets: . zero)
223221
224222 // A container view is added to respond to safe area insets from the view controller.
225223 // This is needed when the child view controller's view has to use a frame-based layout
@@ -265,9 +263,7 @@ private extension DashboardViewController {
265263
266264 func reloadDashboardUIStatsVersion( forced: Bool ) {
267265 dashboardUIFactory. reloadDashboardUI ( onUIUpdate: { [ weak self] dashboardUI in
268- if ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . largeTitles) {
269- dashboardUI. scrollDelegate = self
270- }
266+ dashboardUI. scrollDelegate = self
271267 self ? . onDashboardUIUpdate ( forced: forced, updatedDashboardUI: dashboardUI)
272268 } )
273269 }
@@ -287,8 +283,7 @@ private extension DashboardViewController {
287283 }
288284
289285 func updateUI( site: Site ? ) {
290- guard let siteName = site? . name, siteName. isEmpty == false ,
291- ServiceLocator . featureFlagService. isFeatureFlagEnabled ( . largeTitles) else {
286+ guard let siteName = site? . name, siteName. isEmpty == false else {
292287 shouldShowStoreNameAsSubtitle = false
293288 storeNameLabel. text = nil
294289 return
0 commit comments