Skip to content

Commit 0cfe977

Browse files
Merge branch 'task/19447-phase-1' into task/19447-analytics
2 parents 89c9502 + 6426d1a commit 0cfe977

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

WordPress/Classes/ViewRelated/Jetpack/Branding/Coordinator/JetpackFeaturesRemovalCoordinator.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class JetpackFeaturesRemovalCoordinator {
8888
/// - Parameters:
8989
/// - source: The source that triggers the display of the overlay.
9090
/// - viewController: View controller where the overlay should be presented in.
91-
static func presentOverlay(from source: OverlaySource, in viewController: UIViewController) {
91+
static func presentOverlayIfNeeded(from source: OverlaySource, in viewController: UIViewController) {
9292
let phase = generalPhase()
9393
let frequencyConfig = phase.frequencyConfig
9494
let viewModel = JetpackFullscreenOverlayGeneralViewModel(phase: phase, source: source)

WordPress/Classes/ViewRelated/Jetpack/Branding/Fullscreen Overlay/JetpackFullscreenOverlayGeneralViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private extension JetpackFullscreenOverlayGeneralViewModel {
204204
value: "Follow any site with the Jetpack app",
205205
comment: "Title of a screen displayed when the user accesses the Reader screen from the WordPress app. The screen showcases the Jetpack app.")
206206
static let subtitle = NSLocalizedString("jetpack.fullscreen.overlay.phaseOne.reader.subtitle",
207-
value: "Switch to the Jetpack app to find, fillow, and like all your favorite sites and posts with Reader.",
207+
value: "Switch to the Jetpack app to find, follow, and like all your favorite sites and posts with Reader.",
208208
comment: "Subtitle of a screen displayed when the user accesses the Reader screen from the WordPress app. The screen showcases the Jetpack app.")
209209
}
210210

WordPress/Classes/ViewRelated/Notifications/Controllers/NotificationsViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class NotificationsViewController: UIViewController, UIViewControllerRestoration
180180
override func viewWillAppear(_ animated: Bool) {
181181
super.viewWillAppear(animated)
182182

183-
JetpackFeaturesRemovalCoordinator.presentOverlay(from: .notifications, in: self)
183+
JetpackFeaturesRemovalCoordinator.presentOverlayIfNeeded(from: .notifications, in: self)
184184

185185
syncNotificationsWithModeratedComments()
186186
setupInlinePrompt()

WordPress/Classes/ViewRelated/Reader/ReaderStreamViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ import Combine
347347
override func viewWillAppear(_ animated: Bool) {
348348
super.viewWillAppear(animated)
349349

350-
JetpackFeaturesRemovalCoordinator.presentOverlay(from: .reader, in: self)
350+
JetpackFeaturesRemovalCoordinator.presentOverlayIfNeeded(from: .reader, in: self)
351351

352352
syncIfAppropriate()
353353
}

WordPress/Classes/ViewRelated/Stats/SiteStatsDashboardViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class SiteStatsDashboardViewController: UIViewController {
9696

9797
override func viewWillAppear(_ animated: Bool) {
9898
super.viewWillAppear(animated)
99-
JetpackFeaturesRemovalCoordinator.presentOverlay(from: .stats, in: self)
99+
JetpackFeaturesRemovalCoordinator.presentOverlayIfNeeded(from: .stats, in: self)
100100
}
101101

102102
func configureInsightsTableView() {

0 commit comments

Comments
 (0)