[Bug]: Within the 'Tokens' tab, the balances of account assets may display as 0 before reverting to their actual balances, balances displayed on the send screen may occasionally show as 0
Describe the bug
Within the 'Tokens' tab, the balances of account assets may display as 0 before reverting to their actual balances. Balances displayed on the send screen may occasionally show as 0. Also 'Max' button on the send screen randomly disappears and appears again.
Expected behavior
Screenshots/Recordings
Fluctuations in the balances of tokens within the 'Tokens' list for the same account:
Option to send 'Max' value is not displayed:
USDT balance appears within the 'Tokens' list:
https://github.com/MetaMask/metamask-extension/assets/104780023/bfd2d73d-984f-478b-bfc1-c29f6a2c01c6
0 MATIC on the send screen while the actual balance is correctly displayed on another screen:
https://github.com/MetaMask/metamask-extension/assets/104780023/374b51eb-87ad-48a7-a299-6acc9609a284
Steps to reproduce
- Open MetaMask extension
- Have an account with different tokens
- Notice that not all token balances correctly reflect the actual values
- Try to send a token other that ETH
- 'Max' button may occasionally disappear from the send screen, token's balance on the send screen may show '0' instead of actual balance
Error messages or log output
No response
Version
latest send+swap build
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response