Removed camera constraints from QR scanner

By default camera needs to be at least 640x640 but I don't see why that's necessary.

Fixes #285
This commit is contained in:
Donkie
2024-01-26 17:14:45 +01:00
parent f7c9c44ea7
commit d0a958decb

View File

@@ -27,6 +27,9 @@ const QRCodeScannerModal: React.FC = () => {
<Space direction="vertical" style={{ width: "100%" }}>
<p>{t("scanner.description")}</p>
<QrScanner
constraints={{
facingMode: "environment",
}}
viewFinder={
lastError
? () => (