diff --git a/Sources/Scenarios/BaseScenariosManager.swift b/Sources/Scenarios/BaseScenariosManager.swift index 573181b..23d7cef 100644 --- a/Sources/Scenarios/BaseScenariosManager.swift +++ b/Sources/Scenarios/BaseScenariosManager.swift @@ -153,6 +153,9 @@ open class BaseScenariosManager { } appController.setScenario(activeScenarioId) } else { + if (appController.rootViewController.presentedViewController) != nil { + appController.rootViewController.dismiss(animated: false, completion: nil) + } appController.setScenarioSelector(makeScenarioSelector()) } }