From a86ea6b2e4b1a51db671b8cc74fb9ef238f29930 Mon Sep 17 00:00:00 2001 From: Alexander Boriskov Date: Wed, 29 Jul 2020 22:13:53 +0300 Subject: [PATCH] [iOS] What's new 10.2 - added second step for autoupdate --- iphone/Maps/UI/Welcome/WhatsNew/WhatsNewBuilder.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/UI/Welcome/WhatsNew/WhatsNewBuilder.swift b/iphone/Maps/UI/Welcome/WhatsNew/WhatsNewBuilder.swift index 28f780b463..5387858eb0 100644 --- a/iphone/Maps/UI/Welcome/WhatsNew/WhatsNewBuilder.swift +++ b/iphone/Maps/UI/Welcome/WhatsNew/WhatsNewBuilder.swift @@ -5,6 +5,7 @@ class WhatsNewBuilder { title: "whatsnew_trial_title", text: "whatsnew_trial_message", buttonNextTitle: "whatsnew_trial_cta", + isCloseButtonHidden: false, action: { let subscribeViewController = SubscriptionViewBuilder.build(type: .allPass, parentViewController: MapViewController.shared(), @@ -12,7 +13,11 @@ class WhatsNewBuilder { successDialog: .goToCatalog, completion: nil) MapViewController.shared().present(subscribeViewController, animated: true) - }) + }), + WhatsNewPresenter.WhatsNewConfig(image: UIImage(named: "img_whatsnew_trial.png"), + title: "whatsnew_trial_title", + text: "whatsnew_trial_message", + buttonNextTitle: "done") ] }