@@ -12,21 +12,18 @@ extension BlogDetailsViewController {
12
12
guard self ? . blog. managedObjectContext != nil else {
13
13
return
14
14
}
15
- self ? . toggleSpotlightForSiteTitle ( )
16
- self ? . refreshSiteIcon ( )
17
15
self ? . configureTableViewData ( )
18
16
self ? . reloadTableViewPreservingSelection ( )
19
17
20
18
if let info = notification. userInfo ? [ QuickStartTourGuide . notificationElementKey] as? QuickStartTourElement {
21
19
switch info {
22
20
case . noSuchElement:
23
- if FeatureFlag . mySiteDashboard. enabled,
24
- let parentVC = self ? . parent as? MySiteViewController {
25
- parentVC. additionalSafeAreaInsets = . zero
26
- } else {
27
- self ? . additionalSafeAreaInsets = . zero
21
+ guard let parentVC = self ? . parent as? MySiteViewController else {
22
+ return
28
23
}
29
24
25
+ parentVC. additionalSafeAreaInsets = . zero
26
+
30
27
case . siteIcon, . siteTitle:
31
28
// handles the padding in case the element is not in the table view
32
29
self ? . additionalSafeAreaInsets = UIEdgeInsets ( top: 0 , left: 0 , bottom: BlogDetailsViewController . bottomPaddingForQuickStartNotices, right: 0 )
@@ -115,9 +112,7 @@ extension BlogDetailsViewController {
115
112
private func showQuickStart( with type: QuickStartType ) {
116
113
let checklist = QuickStartChecklistViewController ( blog: blog, type: type)
117
114
let navigationViewController = UINavigationController ( rootViewController: checklist)
118
- present ( navigationViewController, animated: true ) { [ weak self] in
119
- self ? . toggleSpotlightOnHeaderView ( )
120
- }
115
+ present ( navigationViewController, animated: true )
121
116
122
117
QuickStartTourGuide . shared. visited ( . checklist)
123
118
0 commit comments