mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 19:26:27 +00:00
CAKE-185 | fixed _amount in the changeDepositAmount() method (exchange_view_model.dart)
This commit is contained in:
parent
1afe4255a7
commit
dd71edd8c8
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ abstract class ExchangeViewModelBase with Store {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final _amount = double.parse(amount.replaceAll(',', '.'));
|
final _amount = double.parse(amount.replaceAll(',', '.')) ?? 0;
|
||||||
provider
|
provider
|
||||||
.calculateAmount(
|
.calculateAmount(
|
||||||
from: depositCurrency,
|
from: depositCurrency,
|
||||||
|
|
Loading…
Reference in a new issue