Add wire amount validation #4271
Summary of Changes
Adds an error field to the amount input if the amount was invalid. Previously it used to go back if the amount was 0 and did nothing if the amount was invalid.
Testing Considerations
try to wire a channel an invalid amount, or leave the amount unchanged (0) on Android (iOS doesn't support wires) and you should see an error saying "Invalid amount"
Regression Scope
none
Platform Affected (web, mobile, etc)
both
Developer Testing Completed
yes
Screenshots
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Edited by Manish