From 9dcdd94b3a9e9107ba6cc2842e1e33b76c3c87ce Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Fri, 22 Aug 2025 15:24:22 +0200 Subject: [PATCH] Add litecoin support --- res/static/img/payment_providers/litecoin.svg | 1 + svelte/src/layout/checkout/CheckoutLib.ts | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 res/static/img/payment_providers/litecoin.svg diff --git a/res/static/img/payment_providers/litecoin.svg b/res/static/img/payment_providers/litecoin.svg new file mode 100644 index 0000000..13e76a4 --- /dev/null +++ b/res/static/img/payment_providers/litecoin.svg @@ -0,0 +1 @@ +litecoin-ltc-logo \ No newline at end of file diff --git a/svelte/src/layout/checkout/CheckoutLib.ts b/svelte/src/layout/checkout/CheckoutLib.ts index a7a0e30..bc128ac 100644 --- a/svelte/src/layout/checkout/CheckoutLib.ts +++ b/svelte/src/layout/checkout/CheckoutLib.ts @@ -58,16 +58,21 @@ export const payment_providers: PaymentProvider[] = [ name: "btc", label: "Bitcoin", crypto: true, - }, { - icon: "dogecoin", - name: "doge", - label: "Dogecoin", - crypto: true, + // }, { + // icon: "dogecoin", + // name: "doge", + // label: "Dogecoin", + // crypto: true, }, { icon: "monero", name: "xmr", label: "Monero", crypto: true, + }, { + icon: "litecoin", + name: "ltc", + label: "Litecoin", + crypto: true, }, ]