The getter 'isNotEmpty' was called in null #18
This commit is contained in:
parent
e72b92d124
commit
97293c61cf
|
|
@ -67,10 +67,10 @@ String formatNumber(
|
|||
|
||||
if (currency.id == kCurrencyEuro) {
|
||||
swapCurrencySymbol = country.swapCurrencySymbol;
|
||||
if (country.thousandSeparator.isNotEmpty) {
|
||||
if (country.thousandSeparator != null && country.thousandSeparator.isNotEmpty) {
|
||||
thousandSeparator = country.thousandSeparator;
|
||||
}
|
||||
if (country.decimalSeparator.isNotEmpty) {
|
||||
if (country.decimalSeparator != null && country.decimalSeparator.isNotEmpty) {
|
||||
decimalSeparator = country.decimalSeparator;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue