diff --git a/lib/pages/buy_view/buy_form.dart b/lib/pages/buy_view/buy_form.dart index 4dc13aeda..c55226d6d 100644 --- a/lib/pages/buy_view/buy_form.dart +++ b/lib/pages/buy_view/buy_form.dart @@ -1262,11 +1262,15 @@ class NumericalRangeFormatter extends TextInputFormatter { ) { if (newValue.text == '') { return newValue; - } else if (Decimal.parse(newValue.text) < min) { - newValue = - const TextEditingValue().copyWith(text: min.toStringAsFixed(2)); } else { - newValue = Decimal.parse(newValue.text) > max ? oldValue : newValue; + if (buyWithFiat) { + if (Decimal.parse(newValue.text) < min) { + newValue = + const TextEditingValue().copyWith(text: min.toStringAsFixed(2)); + } else { + newValue = Decimal.parse(newValue.text) > max ? oldValue : newValue; + } + } } final regexString = buyWithFiat