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

Create a different state for the swap screen when no trustlines exist #1717

Open
sdfcharles opened this issue Dec 9, 2024 · 1 comment
Open
Assignees

Comments

@sdfcharles
Copy link

Image
When swapping, and the account doesn't have any trustlines, we should display a different screen and redirect the user to the asset manage screen.

@sdfcharles sdfcharles self-assigned this Dec 9, 2024
@JakeUrban
Copy link
Contributor

Maybe you're already accounting for this, but only stellar assets have trustlines (you don't need trustlines for custom tokens), so the check should be whether the user has added any assets to his/her wallet at all.

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

No branches or pull requests

2 participants