CWA-167 | changed decimal parameter of keyboard on true for exchange and send pages

Oleksandr Sobol committed Jan 22, 2020 at 18:42 UTC 93c4f04f71b9c545bbd7b1128642272296a647bc
2 files changed +3 -3
lib/src/screens/exchange/widgets/exchange_card.dart
+1 -1
@@ -174,7 +174,7 @@ class ExchangeCardState extends State<ExchangeCard> {
174 enabled: _isAmountEditable,
175 textAlign: TextAlign.right,
176 keyboardType: TextInputType.numberWithOptions(
177 - signed: false, decimal: false),
177 + signed: false, decimal: true),
178 inputFormatters: [
179 BlacklistingTextInputFormatter(
180 RegExp('[\\-|\\ |\\,]'))
lib/src/screens/send/send_page.dart
+2 -2
@@ -215,7 +215,7 @@ class SendFormState extends State<SendForm> {
215 .color),
216 controller: _cryptoAmountController,
217 keyboardType: TextInputType.numberWithOptions(
218 - signed: false, decimal: false),
218 + signed: false, decimal: true),
219 inputFormatters: [
220 BlacklistingTextInputFormatter(
221 RegExp('[\\-|\\ |\\,]'))
@@ -275,7 +275,7 @@ class SendFormState extends State<SendForm> {
275 .color),
276 controller: _fiatAmountController,
277 keyboardType: TextInputType.numberWithOptions(
278 - signed: false, decimal: false),
278 + signed: false, decimal: true),
279 inputFormatters: [
280 BlacklistingTextInputFormatter(
281 RegExp('[\\-|\\ |\\,]'))