status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.9k stars 985 forks source link

The network drawer shows the balance of default account instead of balance of total accounts on wallet main page #21463

Open VolodLytvynenko opened 1 day ago

VolodLytvynenko commented 1 day ago

Preconditions:

  1. User has 2 or more accounts
  2. User has an asset with available value on 2 or more accounts

Steps:

  1. Go to the wallet main page
  2. Long tap the asset that is present within 2 or more accounts
  3. Observe the value

Actual result:

The value shown within the network selection drawer is related to main default account

https://github.com/user-attachments/assets/a4bd5f7e-227a-45fe-a01b-56648134228c

Example: The user has a total of 1 DAI, with 0.01 DAI in the default account and 0.99 DAI in other accounts. However, the network drawer only displays 0.01 DAI.

Expected result:

The network selection drawer should display the total balance of the asset across all accounts, not just the default account.

OS:

IOS, Android

Devices:

ajayesivan commented 1 day ago

I will take this up.

cc: @ilmotta