mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-05 07:04:21 +01:00
Checkout v2: Reduce Altcoin name on payment method pill (#4456)
Closes #4455.
This commit is contained in:
@@ -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 ", "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user