mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 11:15:33 +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;
|
||||
}
|
||||
|
||||
final _amount = double.parse(amount.replaceAll(',', '.'));
|
||||
final _amount = double.parse(amount.replaceAll(',', '.')) ?? 0;
|
||||
provider
|
||||
.calculateAmount(
|
||||
from: depositCurrency,
|
||||
|
|
Loading…
Reference in a new issue