Skip to content

Commit 7fbe222

Browse files
committed
Update qrcode logo and sharing
1 parent 78aabd7 commit 7fbe222

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/HealthLink.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
$: {
5555
qrCode = href
5656
.then((r) => QRCode.toDataURL(r, { errorCorrectionLevel: 'M' }))
57-
.then(qrCode => mergeImages([qrCode, '/img/qrcode-logo.png']));
57+
.then(qrCode => mergeImages([qrCode, {src: '/img/qrcode-logo.png', x:0, y:4}]));
5858
}
5959
6060
let canShare = navigator?.canShare?.({ url: 'https://example.com', title: 'Title' });
@@ -137,8 +137,7 @@
137137
navigator.share({
138138
files: [file],
139139
url: await href,
140-
title: shl.label || "WA Verify+ Summary",
141-
text: 'Your shareable WA Verify+ Health Summary QR code'
140+
text: `${(shl.label || "WA Verify+ Summary Link")}:\n`
142141
});
143142
} else {
144143
navigator.share({ url: await href, title: shl.label });

0 commit comments

Comments
 (0)