mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
replace , with .
This commit is contained in:
@@ -294,7 +294,7 @@ abstract class BuySellViewModelBase extends WalletChangeListenerViewModel with S
|
||||
|
||||
@action
|
||||
Future<void> changeFiatAmount({required String amount}) async {
|
||||
fiatAmount = amount;
|
||||
fiatAmount = amount.replaceAll(",", ".");
|
||||
|
||||
if (amount.isEmpty) {
|
||||
fiatAmount = '';
|
||||
|
||||
Reference in New Issue
Block a user