Open rex4539 opened 2 years ago
I was about to report this problem. It's a number formatter locale issue.
To reproduce the bug: set you phone's locale to a language that uses a comma (,) as a decimal separator for numbers, like Spanish.
Reproducing Side-effect 1) (invalid amount) Try to fill transaction amount using USD converter. the amount will be expressed with the point as decimal separator. this will cause the parsing error. You will see how I typed 200 and the amount is 1 point 19 something
reproducing Side-effect 2) wrong USD conversion try to fill the amount in ZEC on the left. The transaction info will be valid, but the USD conversion will be broken observe how I typed a similar amount that should be somewhere near 200 but instead it's just the current value of 1 ZEC
Steps:
What happened: You get "Invalid Amount!" error and the USD price is zero (not calculated).
In order to force the app to accept the amount, you need to delete all the characters and retype the amount manually. And even then the USD amount is sometimes calculated and sometimes not. So there is obviously a parsing bug.
Expected result: Amount is parsed correctly and USD price is always updated when amount is shown or typed.