mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Displaying Node Info as QR code for Lightning payments (#318)
* Styling elements required for Node info * Allowing switching QR between bolt11 and node info for lightning * Equal width for Bolt11 and Node info buttons * Certain languages were too verbose for display of "Pay with" Fixes: #317
This commit is contained in:
committed by
Nicolas Dorier
parent
657cfe1b23
commit
d459839bf7
@@ -307,7 +307,7 @@ namespace BTCPayServer.Controllers
|
||||
private string GetDisplayName(PaymentMethodId paymentMethodId, BTCPayNetwork network)
|
||||
{
|
||||
return paymentMethodId.PaymentType == PaymentTypes.BTCLike ?
|
||||
network.DisplayName : network.DisplayName + " (via Lightning)";
|
||||
network.DisplayName : network.DisplayName + " (Lightning)";
|
||||
}
|
||||
|
||||
private string GetImage(PaymentMethodId paymentMethodId, BTCPayNetwork network)
|
||||
|
||||
Reference in New Issue
Block a user