Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Selecting Swap from a token doesn't set it as the swap from token #4677

Closed
srirambv opened this issue Dec 9, 2021 · 1 comment · Fixed by #4756
Closed

Selecting Swap from a token doesn't set it as the swap from token #4677

srirambv opened this issue Dec 9, 2021 · 1 comment · Fixed by #4756

Comments

@srirambv
Copy link
Contributor

srirambv commented Dec 9, 2021

Description:

Selecting Swap from a token doesn't set it as the swap from token

Steps to Reproduce

  1. Create/Restore wallet
  2. Select BAT from portfolio
  3. Select swap on the token details page
  4. Swap sheet opens up but its set fro Swap from ETH to BAT instead of Swap from BAT to ETH

Actual result:
Selecting Swap from a token doesn't set it as the swap from token

Expected result:
Should set BAT as swap from token as swap was initiated from that asset details page

Reproduces how often: [Easily reproduced, Intermittent Issue]
Easy

Brave Version:
1.33

Device details:
All

Website problems only:

  • did you check with Brave Shields down?
  • did you check in Safari/Firefox (WkWebView-based browsers)?

Additional Information

@srirambv
Copy link
Contributor Author

Verification passed on iPhone 7+ with iOS 14.8.1 running 1.35 (22.1.24.23)

  • Verified steps from #4756
  • Verified selecting an asset from portfolio page and selecting Buy/Send/Swap from asset page prepopulates the token in Buy/Send/Swap from fields
  • Verified on Mainnet selecting Buy sets BAT as default asset to be bought
  • Verified on Mainnet selecting Send sets ETH as default token
  • Verified on Mainnet selecting Swap sets ETH as from and BAT as to token
  • Verified on Ropsten selecting Swap sets ETH as preselected from token and DAI as preselected to token
  • Encountered #4893

Verification passed on iPhone XR with iOS 14.8.1 running 1.35 (22.1.24.23)

  • Verified steps from #4756
  • Verified selecting an asset from portfolio page and selecting Buy/Send/Swap from asset page prepopulates the token in Buy/Send/Swap from fields
  • Verified on Mainnet selecting Buy sets BAT as default asset to be bought
  • Verified on Mainnet selecting Send sets ETH as default token
  • Verified on Mainnet selecting Swap sets ETH as from and BAT as to token
  • Verified on Ropsten selecting Swap sets ETH as preselected from token and DAI as preselected to token
  • Encountered #4893

Verification passed on iPad Pro with iOS 15.3 running 1.35 (22.1.24.23)

  • Verified steps from #4756
  • Verified selecting an asset from portfolio page and selecting Buy/Send/Swap from asset page prepopulates the token in Buy/Send/Swap from fields
  • Verified on Mainnet selecting Buy sets BAT as default asset to be bought
  • Verified on Mainnet selecting Send sets ETH as default token
  • Verified on Mainnet selecting Swap sets ETH as from and BAT as to token
  • Verified on Ropsten selecting Swap sets ETH as preselected from token and DAI as preselected to token
  • Encountered #4893

# for free to subscribe to this conversation on GitHub. Already have an account? #.