Skip to content

Commit e722003

Browse files
committed
Automatically dismiss the session verification screen on cancellations only when on the initial incoming request acceptance stage.
1 parent 5ae0a38 commit e722003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElementX/Sources/Screens/Onboarding/SessionVerificationScreen/SessionVerificationScreenViewModel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class SessionVerificationScreenViewModel: SessionVerificationViewModelType, Sess
123123
cancelVerification()
124124
case (_, _, .verified):
125125
actionsSubject.send(.finished)
126-
case (_, _, .cancelled):
126+
case (.initial, _, .cancelled):
127127
if case .responder = flow {
128128
actionsSubject.send(.finished)
129129
}

0 commit comments

Comments
 (0)