mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
CAKE-185 | fixed _amount in the changeDepositAmount() method (exchange_view_model.dart)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user