Merge pull request #25 from cake-tech/CWA-167-amount-entering-bug

Cwa 167 amount entering bug
This commit is contained in:
M 2020-01-27 20:37:39 +01:00
commit 13618c6939
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('[\\-|\\ |\\,]'))