forked from organicmaps/organicmaps-tmp
[iOS] What's new 10.2 - added second step for autoupdate
This commit is contained in:
parent
34bf3ba570
commit
a86ea6b2e4
1 changed files with 6 additions and 1 deletions
|
@ -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")
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue