Explorar el Código

fix #388: avoid throwing unnecessary exception

flutter-beta
ingenieria hace 4 años
padre
commit
09af715325
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. +0
    -3
      ios/Classes/QRView.swift

+ 0
- 3
ios/Classes/QRView.swift Ver fichero

@@ -207,9 +207,6 @@ public class QRView:NSObject,FlutterPlatformView {
let scanError = FlutterError(code: "unknown-error", message: "Unable to start scanning", details: error)
result(scanError)
}
} else {
let error = FlutterError(code: "cameraPermission", message: "Permission denied to access the camera", details: nil)
result(error)
}
})
}


Cargando…
Cancelar
Guardar