Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

AppLauncher - Submission WF (Aufruf-Probleme) #2241

Merged

Conversation

freshking
Copy link
Member

Description

Dismiss all presented view controllers before doing anything

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-5518

@freshking freshking added the bug Something isn't working label Mar 18, 2021
@freshking freshking added this to the v2.0.0 milestone Mar 18, 2021
@freshking freshking self-assigned this Mar 18, 2021
@freshking freshking requested a review from a team March 18, 2021 09:55
// prevent navigation issues by falling back to overview screen
viewController.popToRootViewController(animated: false)
// dismiss all presented view controllers
viewController.view.window?.rootViewController?.dismiss(animated: false, completion: { [weak self] in
guard let self = self else {
return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some Log would be nice here

Copy link
Member Author

@freshking freshking Mar 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a log if the view controller was released from memory?

@@ -186,7 +188,15 @@ class DiaryCoordinator {
self?.showDiaryDayNotesInfoScreen()
}
)

if let currentDayVC = self.viewController.viewControllers.last as? DiaryDayViewController, currentDayVC.day == day {
// prevent pushing the same day again
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps add here a log, too?

@freshking freshking merged commit e882737 into release/2.0.x Mar 23, 2021
@freshking freshking deleted the fix/5518-AppLauncher_-_Submission_WF_(Aufruf-Probleme) branch March 23, 2021 09:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants