CurrencyEditText icon indicating copy to clipboard operation
CurrencyEditText copied to clipboard

Bug for Persian, Arabic decimal character

Open mahdit8 opened this issue 3 years ago • 1 comments

In this line: hasDecimalPoint = s.toString().contains(decimalFormatSymbols.decimalSeparator.toString()) It will check Persian, Arabic or any language specific decimals, but if developer used numeric keyboard decimal char will be "," or ".". So have to add these two characters as well. SO if we set locale to Persian or Arabic locale from phone resources.configuration.locales[0]

And enter 5.488 Result will be like this: Screen Shot 2022-02-18 at 13 42 10

mahdit8 avatar Feb 18 '22 02:02 mahdit8

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please open another issue if needed. Thank you for your contributions.

stale[bot] avatar Sep 04 '22 16:09 stale[bot]