Electric-Coin-Company / zashi-android

The Zashi Zcash Wallet, Android Edition
MIT License
26 stars 15 forks source link

Allow dot as well as comma as decimal separator #1679

Open Tomas-M opened 1 week ago

Tomas-M commented 1 week ago

Currently when I want to send money using Android app, while specifying amount, my onscreen keyboard allows to type in dot "." as well as comma "," as decimal separator, while editing Amount. However zashi app only accepts comma "," and when I enter dot, it complains Invalid amount.

I would suggest to update Android app so that either the onscreen keyboard only shows proper decimal separator, or the Amount input fields accepts both and understands them the same.

I think this is due to my regional settings, it is similar situation which I have with microsoft excel for example, which accepts dot as decimal separator on English windows, while it requires comma "," in Czech windows (or vice versa, I don't remember).

image

I suggest new feature - handle dot the same as comma.