Skip to content

Commit

Permalink
Merge pull request #17 from LeBzul/feature/refacto
Browse files Browse the repository at this point in the history
fix camera
  • Loading branch information
LeBzul authored Jul 28, 2023
2 parents 0115d3a + 7c24eaa commit b467b63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ocr_scan/widget/live_scan_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class LiveScanWidgetState extends ScanWidgetState<LiveScanWidget> {
final camera = _cameras[0];
_controller = CameraController(
camera,
ResolutionPreset.max,
ResolutionPreset.high,
enableAudio: false,
);
_controller?.initialize().then((_) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ocr_scan/widget/static_scan_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import 'package:path/path.dart' as path;
import 'package:pdf_render/pdf_render.dart';

class StaticScanWidget extends ScanWidget {
File file;
final File file;
StaticScanWidget({
super.key,
required super.scanModules,
Expand Down

0 comments on commit b467b63

Please sign in to comment.