mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Secrets recovery: fix an issue preventing the release of SecureBackupSetupCoordinator
This commit is contained in:
@@ -73,15 +73,19 @@ final class SecureBackupSetupCoordinator: SecureBackupSetupCoordinatorType {
|
||||
// MARK: - Public methods
|
||||
|
||||
func start() {
|
||||
start(popCompletion: nil)
|
||||
}
|
||||
|
||||
func start(popCompletion: (() -> Void)?) {
|
||||
let rootViewController = self.createIntro()
|
||||
|
||||
if self.navigationRouter.modules.isEmpty == false {
|
||||
self.navigationRouter.push(rootViewController, animated: true, popCompletion: nil)
|
||||
self.navigationRouter.push(rootViewController, animated: true, popCompletion: popCompletion)
|
||||
} else {
|
||||
self.navigationRouter.setRootModule(rootViewController)
|
||||
self.navigationRouter.setRootModule(rootViewController, popCompletion: popCompletion)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func toPresentable() -> UIViewController {
|
||||
return self.navigationRouter
|
||||
.toPresentable()
|
||||
|
||||
Reference in New Issue
Block a user