We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a40c09 commit 7dff2b4Copy full SHA for 7dff2b4
Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionView.swift
@@ -199,7 +199,7 @@ public struct FaceLivenessDetectorView: View {
199
200
func mapError(_ livenessError: LivenessStateMachine.LivenessError) -> FaceLivenessDetectionError {
201
switch livenessError {
202
- case .userCancelled:
+ case .userCancelled, .viewResignation:
203
return .userCancelled
204
case .timedOut:
205
return .faceInOvalMatchExceededTimeLimitError
0 commit comments