mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fixes #2470 - Allow verifiying a session through entering the recovery key
This commit is contained in:
committed by
Stefan Ceriu
parent
46f0cf45bd
commit
023e10edf2
+4
@@ -17,10 +17,13 @@
|
||||
import Foundation
|
||||
|
||||
enum SessionVerificationScreenViewModelAction {
|
||||
case recoveryKey
|
||||
case finished
|
||||
}
|
||||
|
||||
struct SessionVerificationScreenViewState: BindableState {
|
||||
let showRecoveryOption: Bool
|
||||
|
||||
var verificationState: SessionVerificationScreenStateMachine.State = .initial
|
||||
|
||||
var title: String? {
|
||||
@@ -83,6 +86,7 @@ struct SessionVerificationScreenViewState: BindableState {
|
||||
}
|
||||
|
||||
enum SessionVerificationScreenViewAction {
|
||||
case recoveryKey
|
||||
case requestVerification
|
||||
case startSasVerification
|
||||
case restart
|
||||
|
||||
Reference in New Issue
Block a user