瀏覽代碼

fix #388: avoid throwing unnecessary exception

flutter-beta
ingenieria 4 年之前
父節點
當前提交
09af715325
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. +0
    -3
      ios/Classes/QRView.swift

+ 0
- 3
ios/Classes/QRView.swift 查看文件

@@ -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)
}
})
}


Loading…
取消
儲存