From 8a7276ffd4a4e063fe2e135bc24fe0d209b899e4 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 16 Apr 2024 10:37:21 +0300 Subject: [PATCH] Fix broken cancel button on the enter recovery key screen - regressed in https://github.com/element-hq/element-x-ios/pull/2648/files#diff-4420a80fe4e4d99cac174f0dcf86413535a34bd6dc303670d11bca25105d1ae6L55 --- .../SecureBackupScreen/SecureBackupScreenCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Screens/SecureBackup/SecureBackupScreen/SecureBackupScreenCoordinator.swift b/ElementX/Sources/Screens/SecureBackup/SecureBackupScreen/SecureBackupScreenCoordinator.swift index 6fc89bf7ca..f1dd762a82 100644 --- a/ElementX/Sources/Screens/SecureBackup/SecureBackupScreen/SecureBackupScreenCoordinator.swift +++ b/ElementX/Sources/Screens/SecureBackup/SecureBackupScreen/SecureBackupScreenCoordinator.swift @@ -53,7 +53,7 @@ final class SecureBackupScreenCoordinator: CoordinatorProtocol { guard let self else { return } switch action { case .cancel: - break + parameters.navigationStackCoordinator?.setSheetCoordinator(nil) case .recoverySetUp: showSuccessIndicator(title: L10n.screenRecoveryKeySetupSuccess) parameters.navigationStackCoordinator?.setSheetCoordinator(nil)