From 2b2881f8f18830a58fc1309084dae0f1c313b8ac Mon Sep 17 00:00:00 2001 From: Andy Uhnak Date: Mon, 3 Apr 2023 16:15:38 +0100 Subject: [PATCH] Start QR scanning when camera ready --- Riot/Modules/QRCode/Reader/QRCodeReaderView.swift | 2 +- changelog.d/pr-7469.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/pr-7469.bugfix diff --git a/Riot/Modules/QRCode/Reader/QRCodeReaderView.swift b/Riot/Modules/QRCode/Reader/QRCodeReaderView.swift index ecf9ca5a0..21f1b8497 100644 --- a/Riot/Modules/QRCode/Reader/QRCodeReaderView.swift +++ b/Riot/Modules/QRCode/Reader/QRCodeReaderView.swift @@ -196,7 +196,7 @@ final class QRCodeReaderView: UIView { extension QRCodeReaderView: ZXCaptureDelegate { func captureCameraIsReady(_ capture: ZXCapture!) { - isScanning = true + startScanning() } func captureResult(_ capture: ZXCapture!, result: ZXResult!) { diff --git a/changelog.d/pr-7469.bugfix b/changelog.d/pr-7469.bugfix new file mode 100644 index 000000000..010a5a065 --- /dev/null +++ b/changelog.d/pr-7469.bugfix @@ -0,0 +1 @@ +QR verification: Start scanning as soon as camera ready