pgrimaud / lametric-cryptocurrencies

The ultimate cryptocurrencies app for LaMetric : More than 5000 currencies available!
https://apps.lametric.com/apps/cryptocurrencies/5497
MIT License
38 stars 16 forks source link

ADA stuck at $2 #46

Closed cmelius closed 2 years ago

cmelius commented 2 years ago

I have BTC, ETH, BNB, ADA, SOL and DOT in here. For about one month now, ADA stays at $2 and does not change. The other currencies work fine, it's just ADA that is stuck. I restarted my Lametrc and checked your code but I can't find anything - could be a cache issue?

Thanks for looking into this & cheers, Christian

cmelius commented 2 years ago

forget it ... after looking at the latest commits, I found the added rounding. How about a dynamic decimals for rounding? 2 decimal if below 1USD, 1 decimal if below 10 and no decimals above that.

Edit: ok, this is already in method formatPrice(). So I now changed back to default (which it was on before) and it works now. This seems to be a bug while the update was rolled out, I'll close

cmelius commented 2 years ago

works now .... probably just a hickup.