Show popup if webln fails

This commit is contained in:
bumi committed 2019-01-09 12:08:44 +01:00
1 parent 414e31e4df
commit f998fc478c
1 file changed
+1 -1
+1 -1
View File
@@ -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 })