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

This commit is contained in:
Oleksandr Sobol 2020-01-22 18:42:11 +02:00
parent 59492a6634
commit 93c4f04f71
2 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ class ExchangeCardState extends State<ExchangeCard> {
enabled: _isAmountEditable,
textAlign: TextAlign.right,
keyboardType: TextInputType.numberWithOptions(
signed: false, decimal: false),
signed: false, decimal: true),
inputFormatters: [
BlacklistingTextInputFormatter(
RegExp('[\\-|\\ |\\,]'))

View file

@ -215,7 +215,7 @@ class SendFormState extends State<SendForm> {
.color),
controller: _cryptoAmountController,
keyboardType: TextInputType.numberWithOptions(
signed: false, decimal: false),
signed: false, decimal: true),
inputFormatters: [
BlacklistingTextInputFormatter(
RegExp('[\\-|\\ |\\,]'))
@ -275,7 +275,7 @@ class SendFormState extends State<SendForm> {
.color),
controller: _fiatAmountController,
keyboardType: TextInputType.numberWithOptions(
signed: false, decimal: false),
signed: false, decimal: true),
inputFormatters: [
BlacklistingTextInputFormatter(
RegExp('[\\-|\\ |\\,]'))