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 filtering of assetToSell from search currency lists #5921

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

jinchung
Copy link
Member

@jinchung jinchung commented Jul 9, 2024

Fixes APP-1663

What changed (plus any additional context for devs)

We decided to remove the filtering out of the assetToSell from the currency lists. This makes it more convenient for when you want to switch the default input asset over to the output asset without having to first select a different asset and then flip.

What to test

  • if you open the Swap flow from the main wallet screen and have a default asset of ETH, change the input asset to an ERC20. You should still be able to see ETH as an option in the output currency list.
  • flip back and forth, select ETH as the output asset, etc - this should behave as expected while keeping the assetToSell still showing up as an option in the output currency list.

Screen recordings / screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-07-09.at.16.00.26.mp4

Copy link
Contributor

@greg-schrammel greg-schrammel left a comment

Choose a reason for hiding this comment

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

nice

Copy link
Member

@BrodyHughes BrodyHughes left a comment

Choose a reason for hiding this comment

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

lgtm!

@brunobar79 brunobar79 merged commit e15a077 into develop Jul 9, 2024
6 checks passed
@brunobar79 brunobar79 deleted the @jin/do-not-filter-output-asset branch July 9, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants