Skip to content

Commit

Permalink
fix issues rhymelph#52
Browse files Browse the repository at this point in the history
  • Loading branch information
rhymelph committed Aug 4, 2021
1 parent 215b640 commit 43d773f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## 0.1.5 sound null safety and WKWebView.
## 0.1.6+1 fix issues #52.
## 0.1.6 sound null safety and WKWebView.

## 0.1.5 fix ssl and rotate scan problem.

Expand Down
3 changes: 2 additions & 1 deletion lib/src/r_scan_camera.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ final MethodChannel _channel = const MethodChannel('$_scanType/method');
Future<List<RScanCameraDescription>> availableRScanCameras() async {
try {
final List<Map<dynamic, dynamic>> cameras = await (_channel
.invokeListMethod<Map<dynamic, dynamic>>('availableCameras') as FutureOr<List<Map<dynamic, dynamic>>>);
.invokeListMethod<Map<dynamic, dynamic>>('availableCameras')
as Future<List<Map<dynamic, dynamic>>>);
return cameras.map((Map<dynamic, dynamic> camera) {
return RScanCameraDescription(
name: camera['name'],
Expand Down

0 comments on commit 43d773f

Please sign in to comment.