status-im / status-mobile

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

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

Closed VolodLytvynenko closed 4 weeks ago

VolodLytvynenko commented 1 month 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 month ago

I will take this up.

cc: @ilmotta

VolodLytvynenko commented 4 weeks ago

I suggest closing this issue and I will create an updated one. The design and logic are changed for this feature

VolodLytvynenko commented 3 weeks ago

created more updated issues https://github.com/status-im/status-mobile/issues/21557 and https://github.com/status-im/status-mobile/issues/21323 related to network drawer and updated design