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
This commit is contained in:
Stefan Ceriu 2024-04-16 10:37:21 +03:00 committed by Stefan Ceriu
parent ee7b1de1c8
commit 195a7c0e5f

View File

@ -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)