brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.86k stars 2.33k forks source link

Selecting No for creating Solana Account doesn't set the network back to Ethereum in Send screen #25373

Closed srirambv closed 2 years ago

srirambv commented 2 years ago

Description

Selecting No for creating Solana Account doesn't set the network back to Ethereum in Send screen

Steps to reproduce

  1. Clean profile & Create wallet
  2. Select Send from BuySendSwap button
  3. Select Solana from network dropdown
  4. Select No to cancel account creation
  5. Network remains as Solana but token/address is still set to Ethereum

Actual result

https://user-images.githubusercontent.com/17010094/189922097-6deaebd5-04f5-480d-bed9-532a930b8ab1.mp4

Expected result

Reset network back to Ethereum or selected EVM network if user cancels to create Solana Account

Issue reproduces how often

Easy

Version/Channel Information:

Device details

Brave version

1.44.79

Website problems only

Additional information

cc: @Pavneet-Sing

srirambv commented 2 years ago

Verification passed on the following devices running 1.45.88 x64 Beta build

Oppo Reno 5 (Android 12) Samsung Tab A (Android 10)