fix: do not ask for NFC if not needed (#3145)
This commit is contained in:
parent
f92ae8bae1
commit
8458b4d84b
2 changed files with 4 additions and 2 deletions
|
|
@ -639,7 +639,7 @@
|
|||
>
|
||||
<span
|
||||
v-if="receive.lnurl"
|
||||
v-text="$t('withdraw_from') + receive.lnurl.domain"
|
||||
v-text="`${$t('withdraw_from')} ${receive.lnurl.domain}`"
|
||||
></span>
|
||||
<span v-else v-text="$t('create_invoice')"></span>
|
||||
</q-btn>
|
||||
|
|
|
|||
|
|
@ -261,7 +261,9 @@ window.WalletPageLogic = {
|
|||
this.receive.paymentReq = response.data.bolt11
|
||||
this.receive.amountMsat = response.data.amount
|
||||
this.receive.paymentHash = response.data.payment_hash
|
||||
if (!this.receive.lnurl) {
|
||||
this.readNfcTag()
|
||||
}
|
||||
// TODO: lnurl_callback and lnurl_response
|
||||
// WITHDRAW
|
||||
if (response.data.lnurl_response !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue