Dashboard
This commit is contained in:
parent
b6e46fbf78
commit
e09b5aeb78
|
|
@ -73,6 +73,10 @@ String formatNumber(
|
||||||
final CurrencyEntity currency = state.staticState.currencyMap[currencyId];
|
final CurrencyEntity currency = state.staticState.currencyMap[currencyId];
|
||||||
final CountryEntity country = state.staticState.countryMap[countryId];
|
final CountryEntity country = state.staticState.countryMap[countryId];
|
||||||
|
|
||||||
|
if (currency == null) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
String thousandSeparator = currency.thousandSeparator;
|
String thousandSeparator = currency.thousandSeparator;
|
||||||
String decimalSeparator = currency.decimalSeparator;
|
String decimalSeparator = currency.decimalSeparator;
|
||||||
bool swapCurrencySymbol = currency.swapCurrencySymbol;
|
bool swapCurrencySymbol = currency.swapCurrencySymbol;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue