- Homescreen widget for android added

This commit is contained in:
2022-10-30 14:10:16 +00:00
parent 1100ce2ab8
commit 75bdcde364
16 changed files with 166 additions and 134 deletions

View File

@@ -2,6 +2,9 @@ extension CurrencyExtension on String {
/// Convert currency string into currency code
/// eg. "AUD - Australian Dollar" to "AUD"
String getCurrencyCode(){
if (length == 3) {
return this;
}
return substring(0,3);
}
}