Closed corradio closed 4 years ago
This is great :) I have allowed myself to push a commit with a suggested change, if you disagree I'll just revert it.
Instead of getting currencies at runtime (with getAvailableCurrencies), I think it's better to have a defined constant so we catch errors before compile-time and have better editor support:
And to be sure they match, I have added a test that checks if UNIT_CURRENCIES
match the list in exchange_rate.json
You rock! I'm checking this anyway but only because I want to :D
Feel free to approve/merge in my absence
Just wanted to be sure :)