Closed AbrahamOsmondE closed 4 months ago
The list of currency are taken from a DB Sql, whose implementation defers from tenant to tenant. An the default currency list and properties can be found here
It seems that MySQL does not support some of these currency symbols (source), causing displaySymbol
to be null
for some currencies.
We should instead implement a fallback for these cases
Fixes #2433
Fix for Albanian LEK, previously showing null:
Before:![Screenshot 2024-03-30 at 1 17 40 AM](https://github.com/openMF/mifos-mobile/assets/82792334/02438bcd-c1e7-41ce-bec3-02a7b1b75f57)
After:![Screenshot 2024-03-30 at 1 12 30 AM](https://github.com/openMF/mifos-mobile/assets/82792334/63203af8-9b99-4057-bc0b-0bd4bdcc8365)
Please make sure these boxes are checked before submitting your pull request - thanks!
[x] Apply the
AndroidStyle.xml
style template to your code in Android Studio.[x] Run the unit tests with
./gradlew check
to make sure you didn't break anything[x] If you have multiple commits please combine them into one commit by squashing them.