helium / wallet-issues-tracker

Issue tracker for the Helium Wallet app
3 stars 1 forks source link

[bug]: Wrong decimal separator when trying to send max amount of HNT #13

Closed sabifa closed 2 years ago

sabifa commented 2 years ago

bug

When I try to send the max amount of HNT it auto fills my current balance and uses a dot as the decimal separator. This behavior causes the confirm button to be disabled as the app does not allow the dot sign on my system. If I reenter the amount manually using a comma as decimal separator it works as intended.

My guess is that the max HNT function does not take the system locales decimal separator into account and uses the dot sign by default.

My system is running the German language.

Steps to reproduce:

  1. Tap "Send"
  2. Select Contact
  3. Tap "Enter Amount"
  4. Hit "Max"

Transaction Hash

No response

Phone Type

Xiaomi Mi 11 Ultra (Android 12)

Network Type

Mainnet