aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/(app)/send/[...text]/+page.svelte12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/routes/(app)/send/[...text]/+page.svelte b/src/routes/(app)/send/[...text]/+page.svelte
index b2c9616c..74afd846 100644
--- a/src/routes/(app)/send/[...text]/+page.svelte
+++ b/src/routes/(app)/send/[...text]/+page.svelte
@@ -56,6 +56,18 @@
</div>
<div class="flex justify-end">
+ {#if text?.length}
+ <a href={`/qr/${encodeURIComponent(text)}`}>
+ <button
+ type="button"
+ class="flex border rounded-full px-6 py-2 font-bold hover:opacity-80 mr-1"
+ >
+ <Icon icon="qr" style="mr-2 w-6 my-auto invert" />
+ <div class="my-auto">{$t('user.send.makeQR')}</div>
+ </button>
+ </a>
+ {/if}
+
<a href="/scan">
<button
type="button"