We want to resolve the issue of Insufficient funds error appearing after the user clicked the Max button and then erased the last digit or two.
Issue being fixed or feature implemented
Max button will display the amount equal to wallet balance - fee
Per @HashEngineering suggestion, if there is an error after erasing the last digit, we will recalculate the amount to show the max non-error amount that can be sent.
Events added for the show/hide balance button.
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
[ ] QA (Mobile Team)
Checklist:
[x] I have performed a self-review of my own code and added comments where necessary
[ ] I have added or updated relevant unit/integration/functional/e2e tests
We want to resolve the issue of
Insufficient funds
error appearing after the user clicked the Max button and then erased the last digit or two.Issue being fixed or feature implemented
wallet balance - fee
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: