Skip to content
Snippets Groups Projects
Commit 264365ce authored by vjrj's avatar vjrj
Browse files

Fix for #76

parent c9b06e0e
No related branches found
No related tags found
No related merge requests found
...@@ -111,9 +111,13 @@ class _CardTerminalState extends State<CardTerminal> { ...@@ -111,9 +111,13 @@ class _CardTerminalState extends State<CardTerminal> {
onPressed: () { onPressed: () {
vibrateIfPossible(); vibrateIfPossible();
setState(() { setState(() {
_currentValue = calculate( _currentValue = formatAmountWithLocale(
textInTerminal: _currentValue, decimalSep: _decimalSep) amount: calculate(
.toString(); textInTerminal: _currentValue, decimalSep: _decimalSep),
isG1: true,
locale: currentLocale(context),
useSymbol: false,
);
}); });
}); });
} else if (index == _cancelIndex) { } else if (index == _cancelIndex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment