[iOS] What's new 10.2 - added second step for autoupdate

This commit is contained in:
Alexander Boriskov 2020-07-29 22:13:53 +03:00 committed by Arsentiy Milchakov
parent 34bf3ba570
commit a86ea6b2e4

View file

@ -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")
]
}