Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove NFC button #61

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Remove NFC button #61

merged 1 commit into from
Jan 22, 2024

Conversation

talvasconcelos
Copy link
Collaborator

On this PR, NFC button is removed. When payment is initiated, if available on the browser, the NFC will be readily available (or the browser will ask permission to turn it on). If not supported, it will show a small text with that information. Closes #24

The "Pay in wallet" button (introduced in #43) was also removed, it breaks the UI in small screens. Functionality is still available by clicking the QR code, as is standard behaviour.

Copy link
Collaborator

@prusnak prusnak left a comment

Choose a reason for hiding this comment

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

Was not able to test, but utACK as long as the QR code stays clickable.

PS: This also closes #24

></lnbits-qrcode>
</q-responsive>
<a
:href="'lightning:' + invoiceDialog.data.payment_request.toUpperCase()"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick: put this expression into a computed method (used in two places):
'lightning:' + invoiceDialog.data.payment_request.toUpperCase()

Copy link
Collaborator

@motorina0 motorina0 left a comment

Choose a reason for hiding this comment

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

utACK

@dni dni merged commit 1314d54 into main Jan 22, 2024
@dni dni deleted the remove_nfc_button branch January 22, 2024 06:53
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