Commit ed165655 authored by poka's avatar poka
Browse files

fix: allow comma in payment pop, replaced by point

parent 71d32170
Pipeline #16012 failed
...@@ -585,8 +585,11 @@ class WalletViewScreen extends StatelessWidget { ...@@ -585,8 +585,11 @@ class WalletViewScreen extends StatelessWidget {
// _walletViewProvider.reload(); // _walletViewProvider.reload();
}), }),
inputFormatters: <TextInputFormatter>[ inputFormatters: <TextInputFormatter>[
// FilteringTextInputFormatter.digitsOnly,
FilteringTextInputFormatter.deny(',',
replacementString: '.'),
FilteringTextInputFormatter.allow( FilteringTextInputFormatter.allow(
RegExp(r'^\d+\.?\d{0,2}')), RegExp(r'(^\d*\.?\d{0,2})')),
], ],
// onChanged: (v) => _searchProvider.rebuildWidget(), // onChanged: (v) => _searchProvider.rebuildWidget(),
decoration: InputDecoration( decoration: InputDecoration(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment