@@ -70,6 +70,8 @@ struct JetpackFullscreenOverlayGeneralViewModel: JetpackFullscreenOverlayViewMod
7070 return Strings . PhaseTwoAndThree. notificationsTitle
7171 case ( . three, . reader) :
7272 return Strings . PhaseTwoAndThree. readerTitle
73+ case ( . three, _) :
74+ return Strings . PhaseThree. generalTitle
7375 default :
7476 return " "
7577 }
@@ -110,7 +112,7 @@ struct JetpackFullscreenOverlayGeneralViewModel: JetpackFullscreenOverlayViewMod
110112 case . login:
111113 fallthrough
112114 case . appOpen:
113- return " " // TODO: Add new animation when ready
115+ return Constants . allFeaturesLogosAnimationLtr
114116 }
115117 }
116118
@@ -127,7 +129,7 @@ struct JetpackFullscreenOverlayGeneralViewModel: JetpackFullscreenOverlayViewMod
127129 case . login:
128130 fallthrough
129131 case . appOpen:
130- return " " // TODO: Add new animation when ready
132+ return Constants . allFeaturesLogosAnimationRtl
131133 }
132134 }
133135
@@ -175,13 +177,15 @@ struct JetpackFullscreenOverlayGeneralViewModel: JetpackFullscreenOverlayViewMod
175177 }
176178
177179 var continueButtonText : String ? {
178- switch source {
179- case . stats:
180+ switch ( source, phase ) {
181+ case ( . stats, _ ) :
180182 return Strings . General. statsContinueButtonTitle
181- case . notifications:
183+ case ( . notifications, _ ) :
182184 return Strings . General. notificationsContinueButtonTitle
183- case . reader:
185+ case ( . reader, _ ) :
184186 return Strings . General. readerContinueButtonTitle
187+ case ( _, . three) :
188+ return Strings . PhaseThree. generalContinueButtonTitle
185189 default :
186190 return nil
187191 }
@@ -242,6 +246,8 @@ private extension JetpackFullscreenOverlayGeneralViewModel {
242246 static let readerLogoAnimationRtl = " JetpackReaderLogoAnimation_rtl "
243247 static let notificationsLogoAnimationLtr = " JetpackNotificationsLogoAnimation_ltr "
244248 static let notificationsLogoAnimationRtl = " JetpackNotificationsLogoAnimation_rtl "
249+ static let allFeaturesLogosAnimationLtr = " JetpackAllFeaturesLogosAnimation_ltr "
250+ static let allFeaturesLogosAnimationRtl = " JetpackAllFeaturesLogosAnimation_rtl "
245251 }
246252
247253 enum Strings {
@@ -314,5 +320,15 @@ private extension JetpackFullscreenOverlayGeneralViewModel {
314320 value: " Switching is free and only takes a minute. " ,
315321 comment: " A footnote in a screen displayed when the user accesses a Jetpack powered feature from the WordPress app. The screen showcases the Jetpack app. " )
316322 }
323+
324+ enum PhaseThree {
325+ static let generalTitle = NSLocalizedString ( " jetpack.fullscreen.overlay.phaseThree.general.title " ,
326+ value: " Jetpack features are moving soon. " ,
327+ comment: " Title of a screen that showcases the Jetpack app. " )
328+
329+ static let generalContinueButtonTitle = NSLocalizedString ( " jetpack.fullscreen.overlay.phaseThree.general.continue.title " ,
330+ value: " Continue without Jetpack " ,
331+ comment: " Title of a button that dismisses an overlay that showcases the Jetpack app. " )
332+ }
317333 }
318334}
0 commit comments