mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Add cancellable property to secureBackup/recovery coordinators
This commit is contained in:
@@ -54,9 +54,13 @@ final class SecureBackupSetupCoordinatorBridgePresenter: NSObject {
|
||||
// func present(from viewController: UIViewController, animated: Bool) {
|
||||
// self.present(from: viewController, animated: animated)
|
||||
// }
|
||||
|
||||
|
||||
func present(from viewController: UIViewController, animated: Bool) {
|
||||
let secureBackupSetupCoordinator = SecureBackupSetupCoordinator(session: self.session, allowOverwrite: self.allowOverwrite)
|
||||
self.present(from: viewController, animated: animated, cancellable: true)
|
||||
}
|
||||
|
||||
func present(from viewController: UIViewController, animated: Bool, cancellable: Bool) {
|
||||
let secureBackupSetupCoordinator = SecureBackupSetupCoordinator(session: self.session, allowOverwrite: self.allowOverwrite, cancellable: cancellable)
|
||||
secureBackupSetupCoordinator.delegate = self
|
||||
viewController.present(secureBackupSetupCoordinator.toPresentable(), animated: animated, completion: nil)
|
||||
secureBackupSetupCoordinator.start()
|
||||
|
||||
Reference in New Issue
Block a user