aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/[username]/receive/+page.svelte4
-rw-r--r--src/routes/invoice/[id]/+page.svelte6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/[username]/receive/+page.svelte b/src/routes/[username]/receive/+page.svelte
index dd7b3d25..f83fc953 100644
--- a/src/routes/[username]/receive/+page.svelte
+++ b/src/routes/[username]/receive/+page.svelte
@@ -13,9 +13,7 @@
$: amount = parseInt(useFiat ? Math.round(amountFiat / ($selectedRate / 100000000)) : amountSats);
- $: $invoiceAmount = parseInt(
- !amountSats ? amountFiat / ($selectedRate / 100000000) : amountSats
- );
+ $: $invoiceAmount = parseInt(!amountSats ? amountFiat / ($selectedRate / 100000000) : amountSats);
$: $invoiceAmountFiat = parseInt(
amountFiat === 0 ? amountSats * ($selectedRate / 100000000) : amountFiat
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte
index 56511d15..aba892e6 100644
--- a/src/routes/invoice/[id]/+page.svelte
+++ b/src/routes/invoice/[id]/+page.svelte
@@ -62,7 +62,6 @@
amount + parseFloat(tipAmountSats.replace(/,/g, ''))
);
-
let apply = async () => {
tipPercent = (customTipAmount / amountFiat) * 100;
update();
@@ -235,6 +234,7 @@
disabled={showMobileTip ? !customTipAmount && !tipAmount : !customTipAmount}
on:click={apply}>Apply</button
>
+ <!-- found missing translation --->
</div>
</div>
</div>
@@ -272,6 +272,7 @@
{$t('invoice.addTip')}
</button>
+ <!-- found missing translation --->
<span class="text-secondary block"
>Scan to pay <a href="/{username}" class="text-black font-semibold">{username}</a></span
>
@@ -291,6 +292,7 @@
<div class="px-5 space-y-3">
<div class="flex justify-between">
+ <!-- found missing translation --->
<span class="font-semibold text-sm">Invoice</span>
<span class="font-semibold text-sm"
>{invoiceAmountFiatFormatted}
@@ -299,6 +301,7 @@
</div>
<div class="flex justify-between">
+ <!-- found missing translation --->
<span class="font-semibold text-sm">Tip</span>
<span class="font-semibold text-sm"
>{tipAmountFormatted}
@@ -307,6 +310,7 @@
</div>
<div class="flex flex-wrap justify-between">
+ <!-- found missing translation --->
<span class="font-bold mr-1">Total</span>
<span class="font-bold"
>{totalAmountFormatted}