maybe icon indicating copy to clipboard operation
maybe copied to clipboard

fix: use correct delimiter on credit card zero values

Open gariasf opened this issue 1 year ago • 0 comments

After recent fixes, the credit card view displays 0 by default on Minimum Payment and Annual Fee. However, the format is wrong. On zero values, the two digits after the delimiter are the decimals, and this is the current behaviour on other sections, like the dashboard.

For example, this is correct: image But this is not: image

This PR resolves this issue, the credit card Minimum Payment and Annual Fee now display the correct delimiter on empty values: image

I haven't seen any issues related to this, so I can't link one.

First time contributing and first time using ruby, I'll be happy to hear about your feedback.

Cheers.

gariasf avatar Oct 10 '24 07:10 gariasf