File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
WordPress/Classes/ViewRelated/Blog Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ open class QuickStartTourGuide: NSObject {
60
60
NotificationCenter . default. post ( name: . QuickStartTourElementChangedNotification, object: self )
61
61
WPAnalytics . trackQuickStartEvent ( . quickStartStarted, blog: blog)
62
62
63
- NotificationCenter . default. post ( name: . QuickStartTourElementChangedNotification,
64
- object: self ,
65
- userInfo: [ QuickStartTourGuide . notificationElementKey: QuickStartTourElement . setupQuickStart] )
63
+ refreshQuickStart ( )
66
64
}
67
65
68
66
func setupWithDelay( for blog: Blog , type: QuickStartType , withCompletedSteps steps: [ QuickStartTour ] = [ ] ) {
@@ -181,9 +179,11 @@ open class QuickStartTourGuide: NSObject {
181
179
}
182
180
}
183
181
184
- /// Posts an empty notification to trigger updates to Quick Start Cards if needed.
182
+ /// Posts a notification to trigger updates to Quick Start Cards if needed.
185
183
func refreshQuickStart( ) {
186
- NotificationCenter . default. post ( name: . QuickStartTourElementChangedNotification, object: self )
184
+ NotificationCenter . default. post ( name: . QuickStartTourElementChangedNotification,
185
+ object: self ,
186
+ userInfo: [ QuickStartTourGuide . notificationElementKey: QuickStartTourElement . setupQuickStart] )
187
187
}
188
188
189
189
private func addSiteMenuWayPointIfNeeded( for tour: QuickStartTour ) -> QuickStartTour {
You can’t perform that action at this time.
0 commit comments