diff --git a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/BlogDashboardViewController.swift b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/BlogDashboardViewController.swift index c5cf0c00a7a5..4a9adfc7c0b5 100644 --- a/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/BlogDashboardViewController.swift +++ b/WordPress/Classes/ViewRelated/Blog/Blog Dashboard/BlogDashboardViewController.swift @@ -14,7 +14,6 @@ final class BlogDashboardViewController: UIViewController { BlogDashboardViewModel(viewController: self, blog: blog) }() - private var complianceCoordinator: CompliancePopoverCoordinator? lazy var collectionView: DynamicHeightCollectionView = { let collectionView = DynamicHeightCollectionView(frame: .zero, collectionViewLayout: createLayout()) @@ -81,9 +80,6 @@ final class BlogDashboardViewController: UIViewController { startAlertTimer() WPAnalytics.track(.mySiteDashboardShown) - - complianceCoordinator = CompliancePopoverCoordinator(viewController: self) - complianceCoordinator?.presentIfNeeded() } override func viewWillDisappear(_ animated: Bool) { diff --git a/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift b/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift index 4812d2cf0152..e806967e3120 100644 --- a/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift +++ b/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift @@ -91,6 +91,7 @@ class MySiteViewController: UIViewController, NoResultsViewHost { var willDisplayPostSignupFlow: Bool = false private var createButtonCoordinator: CreateButtonCoordinator? + private var complianceCoordinator: CompliancePopoverCoordinator? private let meScenePresenter: ScenePresenter private let blogService: BlogService @@ -208,6 +209,9 @@ class MySiteViewController: UIViewController, NoResultsViewHost { createFABIfNeeded() fetchPrompt(for: blog) + + complianceCoordinator = CompliancePopoverCoordinator(viewController: self) + complianceCoordinator?.presentIfNeeded() } override func viewDidLayoutSubviews() {