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

Hide Zap option for profiles with no lightening address #2

Open
0n4t3 opened this issue Aug 26, 2024 · 0 comments
Open

Hide Zap option for profiles with no lightening address #2

0n4t3 opened this issue Aug 26, 2024 · 0 comments

Comments

@0n4t3
Copy link

0n4t3 commented Aug 26, 2024

I was using npub.pro and noticed there was a zap option on my profile despite not having a lightening address setup. I clicked zap and selected an amount to see what it would do, but it gave the error

Error: failed to retrieve zap endpoint :(

Either automatically hiding the zap option if there's no lightening address in a profile, or letting people enable/disable the zap option in their settings regardless of if they have a lightening address might be a good way to avoid some confusion.

Thanks

@leafes leafes moved this to Backlog in Npub.pro issues Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant