|
@@ -59,10 +59,10 @@ class FacialRecognitionControllerPlus extends FacialRecognitionController {
|
|
|
);
|
|
|
|
|
|
final type = result.faceScanErrorType;
|
|
|
- if (type == FaceScanErrorTypeEnum.Success) {
|
|
|
+ if (type == FaceScanErrorTypeEnum2.Success) {
|
|
|
doCancelCapture();
|
|
|
finishFaceDetection(result);
|
|
|
- } else if (type == FaceScanErrorTypeEnum.NoCreated) {
|
|
|
+ } else if (type == FaceScanErrorTypeEnum2.NoCreated) {
|
|
|
doCancelCapture();
|
|
|
await Get.dialog(
|
|
|
VAlertDialog(
|