Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@arcbtc
Copy link
Member

@arcbtc arcbtc commented Feb 1, 2024

No description provided.

@dni
Copy link
Member

dni commented Feb 5, 2024

i cannot really tell what the issue is, can you provide a screenshot or something what the problem is?

Copy link
Member

@dni dni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still going to approve it, despite missing some context, seems simple enough

</q-card>
<q-card v-else class="q-pa-lg q-pt-xl lnbits__dialog-card">
<q-card
v-else-if="receive.paymentReq && receive.lnurl == null"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the corresponding v-if is:

        <q-card
          v-if="!receive.paymentReq"

so receive.paymentReq is not required in this condition

Copy link
Member Author

@arcbtc arcbtc Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats for the parse card in the dialogue

</q-card>
<q-card v-else class="q-pa-lg q-pt-xl lnbits__dialog-card">
<q-card
v-else-if="receive.paymentReq && receive.lnurl == null"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
v-else-if="receive.paymentReq && receive.lnurl == null"
v-else-if="receive.lnurl == null"

Copy link
Collaborator

@motorina0 motorina0 Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if this condition is false: receive.lnurl == null (ie. receive.lnurl != null)?

Copy link
Member Author

@arcbtc arcbtc Feb 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The invoice QR code card in the dialogue should only fire creating an invoice, not when an invoice is parsed out of an lnurl-withdraw.
Making false would mean the opposite, and would e even worse than before.

@arcbtc arcbtc merged commit f07b407 into dev Feb 7, 2024
@arcbtc arcbtc deleted the withdrawqr branch February 7, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants