diff options
| author | Adam Soltys <[email protected]> | 2026-02-16 22:48:48 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-16 22:48:48 -0800 |
| commit | 6a607d98d4368d6d171a40fad83f65167198f4c5 (patch) | |
| tree | 7e6ff20868a10a48aa50e2a8544f964d0d8ccedf /src/components | |
| parent | d0784c34787e6d96f0131af2e12079e7915b2f57 (diff) | |
| download | coinos-ui-6a607d98d4368d6d171a40fad83f65167198f4c5.tar.gz coinos-ui-6a607d98d4368d6d171a40fad83f65167198f4c5.zip | |
ark notifications
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Payments.svelte | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/Payments.svelte b/src/components/Payments.svelte index 7bfc8588..db0dba60 100644 --- a/src/components/Payments.svelte +++ b/src/components/Payments.svelte @@ -23,8 +23,8 @@ tabindex="0" > <div class="whitespace-nowrap my-auto col-span-3"> - <div class="font-bold flex items-center"> - <div class="flex items-center gap-1"> + <button class="font-bold flex items-center" onclick={(e) => { e.stopPropagation(); $fiat = !$fiat; }}> + <div class="flex items-center"> {#if $fiat} <div>{f(Math.abs(amount) * (p.rate / sats), p.currency, locale)}</div> {:else} @@ -33,7 +33,7 @@ <div>{s(Math.abs(amount), locale)}</div> {/if} </div> - </div> + </button> {#if p.tip} <div class="text-secondary flex items-center text-sm"> @@ -106,12 +106,12 @@ <div class="text-secondary text-right text-sm my-auto col-span-3"> <div> - {format(new Date(p.created), "h:mm aaa", { + {format(new Date(p.created), "MMM d, yy", { locale: locales[language], })} </div> <div> - {format(new Date(p.created), "MMM d, yy", { + {format(new Date(p.created), "h:mm aaa", { locale: locales[language], })} </div> |
