Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/gradle/android/com.android.tool…
Browse files Browse the repository at this point in the history
…s.build-gradle-8.1.1
  • Loading branch information
juliansteenbakker authored Aug 29, 2023
2 parents 473e030 + f8f898b commit a744aa0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/src/mobile_scanner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ class _MobileScannerState extends State<MobileScanner>
alignment: Alignment.center,
children: [
_scanner(value.size, value.webId, value.textureId),
widget.overlay!
widget.overlay!,
],
);
} else {
Expand Down
2 changes: 1 addition & 1 deletion lib/src/mobile_scanner_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class MobileScannerController {
barcodes: [
Barcode(
rawValue: (data as Map)['payload'] as String?,
)
),
],
),
);
Expand Down
6 changes: 3 additions & 3 deletions lib/src/web/base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mixin InternalStreamCreation on WebBarcodeReaderBase {
'video': VideoOptions(
facingMode:
cameraFacing == CameraFacing.front ? 'user' : 'environment',
)
),
};
} else {
constraints = {'video': true};
Expand Down Expand Up @@ -147,8 +147,8 @@ mixin InternalTorchDetection on InternalStreamCreation {
final track = localMediaStream?.getVideoTracks();
await track?.first.applyConstraints({
'advanced': [
{'torch': enabled}
]
{'torch': enabled},
],
});
}
}
Expand Down

0 comments on commit a744aa0

Please sign in to comment.