From b8a74370541d396246b3a13fe72e6f528ef1a2ea Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Mon, 1 Aug 2022 21:53:11 -0600 Subject: add payment success screen, currency store, ln address, bug fixes + more --- src/routes/[username]/index.svelte | 7 ++--- src/routes/[username]/support.svelte | 5 ---- src/routes/__layout.svelte | 2 +- src/routes/invoice/[id].svelte | 54 ++++++++++++++++++++++++++++++------ src/routes/support.svelte | 5 ++++ 5 files changed, 54 insertions(+), 19 deletions(-) delete mode 100644 src/routes/[username]/support.svelte create mode 100644 src/routes/support.svelte (limited to 'src/routes') diff --git a/src/routes/[username]/index.svelte b/src/routes/[username]/index.svelte index a53b94cc..6e3978ad 100644 --- a/src/routes/[username]/index.svelte +++ b/src/routes/[username]/index.svelte @@ -7,8 +7,7 @@ import { copy } from '$lib/utils'; export let username; - //this needs to be pulled from user - let lightning = 'lnbc1p3dzl8tpp5jgq2dxefjdhvmvs3uvtjc'; + let lightningAddress = `${username}@coinos.io`; onMount(async () => { if (browser) { @@ -39,7 +38,7 @@ setTimeout(() => (qrSkeleton = false), 100); const handleCopy = () => { - copy(lightning); + copy(lightningAddress); toast.push('Copied!', { theme: { '--toastBarBackground': '#2F855A' @@ -84,7 +83,7 @@