Skip to content

Commit 683485f

Browse files
author
Momo Ozawa
committed
Fix: end current tour when switching blogs
1 parent 79180f1 commit 683485f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

WordPress/Classes/ViewRelated/Blog/Site Picker/SitePickerViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ extension SitePickerViewController {
150150
private func switchToBlog(_ blog: Blog) {
151151
self.blog = blog
152152
blogDetailHeaderView.blog = blog
153+
154+
QuickStartTourGuide.shared.endCurrentTour()
155+
toggleSpotlightOnHeaderView()
156+
153157
onBlogSwitched?(blog)
154158
}
155159

0 commit comments

Comments
 (0)