diff --git a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionView.swift b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionView.swift index ee45a9d..81eacfe 100644 --- a/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionView.swift +++ b/Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionView.swift @@ -199,7 +199,7 @@ public struct FaceLivenessDetectorView: View { func mapError(_ livenessError: LivenessStateMachine.LivenessError) -> FaceLivenessDetectionError { switch livenessError { - case .userCancelled: + case .userCancelled, .viewResignation: return .userCancelled case .timedOut: return .faceInOvalMatchExceededTimeLimitError