fix(frontend): improve dense QR readability (#6396)

Dense AmneziaWG configs crossed a QR version boundary at the fixed display size, and the generated symbol had no quiet zone. Use low error correction and a four-module margin to reduce module density while keeping the payload unchanged.
This commit is contained in:
dawn
2026-09-03 22:32:27 +08:00
committed by GitHub
parent e95fe80fc4
commit 04e8458054
2 changed files with 91 additions and 0 deletions
@@ -140,6 +140,8 @@ export default function QrPanel({
className="qr-code"
value={value}
size={size}
errorLevel="L"
marginSize={4}
type="svg"
bordered={false}
color="#000000"