From 0bf735d89b1446dfdff2a1ce42535bd143a662f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 18 Feb 2022 18:20:34 +0100 Subject: [PATCH 1/2] chore(deps): bump crowdin/github-action from 1.4.6 to 1.4.7 (#1150) Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 1.4.6 to 1.4.7. - [Release notes](https://github.com/crowdin/github-action/releases) - [Commits](https://github.com/crowdin/github-action/compare/1.4.6...1.4.7) --- updated-dependencies: - dependency-name: crowdin/github-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/crowdin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 70cbf7f3b03..229f78051f4 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - name: crowdin action - uses: crowdin/github-action@1.4.6 + uses: crowdin/github-action@1.4.7 continue-on-error: true with: # Upload sources to Crowdin From 4cdc437a41985af31d95569142968fb396d7e89d Mon Sep 17 00:00:00 2001 From: Marvin M <39344769+M123-dev@users.noreply.github.com> Date: Fri, 18 Feb 2022 19:52:08 +0100 Subject: [PATCH 2/2] Fix: Camera lockCaptureOrientation fix (#1151) --- packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart b/packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart index 1596447dd8c..da5c74014e0 100644 --- a/packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart +++ b/packages/smooth_app/lib/pages/scan/ml_kit_scan_page.dart @@ -126,8 +126,6 @@ class MLKitScannerPageState extends State { ResolutionPreset.high, enableAudio: false, ); - _controller?.setFocusMode(FocusMode.auto); - _controller?.lockCaptureOrientation(DeviceOrientation.portraitUp); // If the controller is initialized update the UI. _controller?.addListener(() { @@ -142,6 +140,8 @@ class MLKitScannerPageState extends State { try { await _controller?.initialize(); + _controller?.setFocusMode(FocusMode.auto); + _controller?.lockCaptureOrientation(DeviceOrientation.portraitUp); _controller?.startImageStream(_processCameraImage); } on CameraException catch (e) { if (kDebugMode) {