merged element 1.10.12 into bum

This commit is contained in:
Arnfried Griesert
2023-06-07 15:45:59 +02:00
132 changed files with 2750 additions and 2416 deletions
@@ -74,12 +74,16 @@ 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)
}
}