Skip to content

Commit

Permalink
fix: reduce error correction level for refund QRs
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Oct 28, 2024
1 parent a732713 commit 0a5585e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/DownloadRefund.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ const DownloadRefund = () => {
const { t } = useGlobalContext();

const downloadRefundQr = (swap: any) => {
QRCode.toDataURL(JSON.stringify(swap), { width: 1200 })
QRCode.toDataURL(JSON.stringify(swap), {
width: 1200,
errorCorrectionLevel: "L",
})
.then((url: string) => {
if (isIos()) {
// Compatibility with third party iOS browsers
Expand Down

0 comments on commit 0a5585e

Please sign in to comment.