mirror of
https://github.com/bumi/lntip
synced 2025-06-16 17:55:35 +00:00
Show popup if webln fails
This commit is contained in:
parent
414e31e4df
commit
f998fc478c
@ -74,7 +74,7 @@ LnTip.prototype.payWithWebln = function () {
|
||||
webln.enable().then((weblnResponse) => {
|
||||
return webln.sendPayment({ paymentRequest: this.invoice.PaymentRequest })
|
||||
}).catch((e) => {
|
||||
return this.requestPayment();
|
||||
return this.showPaymentRequest();
|
||||
})
|
||||
} else {
|
||||
return webln.sendPayment({ paymentRequest: this.invoice.PaymentRequest })
|
||||
|
Loading…
x
Reference in New Issue
Block a user