From 3a2ad48bd60d4e2807db14a1c8755e4a6d4c10a2 Mon Sep 17 00:00:00 2001 From: d11n Date: Mon, 19 Dec 2022 08:06:43 +0100 Subject: [PATCH] Checkout v2: Reduce Altcoin name on payment method pill (#4456) Closes #4455. --- BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml index 3afd06095..bb9599d65 100644 --- a/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml +++ b/BTCPayServer/Views/UIInvoice/CheckoutV2.cshtml @@ -21,7 +21,7 @@ private string PaymentMethodName(PaymentModel.AvailableCrypto pm) { return Model.AltcoinsBuild - ? $"{pm.PaymentMethodName} {pm.CryptoCode}" + ? pm.PaymentMethodName : pm.PaymentMethodName.Replace("Bitcoin (", "").Replace(")", "").Replace("Lightning ", ""); }