From 63528347205322f82fc931bae4001968e8b3b2a3 Mon Sep 17 00:00:00 2001 From: Steve Cassidy Date: Fri, 6 Dec 2024 19:33:14 +1100 Subject: [PATCH] Fix canScan logic in QRCode button Signed-off-by: Steve Cassidy --- app/src/gui/fields/qrcode/QRCodeFormField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/gui/fields/qrcode/QRCodeFormField.tsx b/app/src/gui/fields/qrcode/QRCodeFormField.tsx index d830616a3..1e15e2cf7 100644 --- a/app/src/gui/fields/qrcode/QRCodeFormField.tsx +++ b/app/src/gui/fields/qrcode/QRCodeFormField.tsx @@ -276,7 +276,7 @@ export function QRCodeButton(props: QRCodeButtonProps): JSX.Element { ); } - if (canScan) { + if (!canScan) { return (