[iOS] Fixed showing of 'what's new' screen on next start after handle deeplink

https://jira.mail.ru/browse/MAPSME-11828
This commit is contained in:
Alexander Boriskov 2020-01-22 14:09:22 +03:00 committed by Daria Volvenkova
parent 2ba522e17c
commit a1e660fa70

View file

@ -62,6 +62,7 @@ final class WelcomePageController: UIPageViewController {
NSLog("deeplinking: whats new check")
if (WelcomeStorage.shouldShowWhatsNew && !DeepLinkHandler.shared.isLaunchedByDeeplink) {
controllersToShow.append(contentsOf: WhatsNewBuilder.build(delegate: vc))
WelcomeStorage.shouldShowWhatsNew = false
}
}
}
@ -83,7 +84,6 @@ final class WelcomePageController: UIPageViewController {
view.clipsToBounds = true
}
currentController = controllers.first
WelcomeStorage.shouldShowWhatsNew = false
}
func nextPage() {