This commit is contained in:
M
2020-10-24 15:55:24 +03:00
parent 0c197660a8
commit 588d93c1a4
6 changed files with 82 additions and 85 deletions
@@ -137,7 +137,7 @@ abstract class ExchangeViewModelBase with Store {
return;
}
final _amount = double.parse(amount) ?? 0;
final _amount = double.parse(amount.replaceAll(',', '.')) ?? 0;
provider
.calculateAmount(
@@ -160,7 +160,7 @@ abstract class ExchangeViewModelBase with Store {
return;
}
final _amount = double.parse(amount);
final _amount = double.parse(amount.replaceAll(',', '.'));
provider
.calculateAmount(
from: depositCurrency, to: receiveCurrency, amount: _amount,