Commit bd72a8bb authored by Izol's avatar Izol

added auto confirm input denom

parent e7cf6543
...@@ -1263,7 +1263,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -1263,7 +1263,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
denom(outletName, info); denom(outletName, info);
} }
}); });
} else { } else {
AwesomeDialog( AwesomeDialog(
context: context, context: context,
...@@ -1490,7 +1489,20 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -1490,7 +1489,20 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
fontWeight: bold, fontWeight: bold,
color: greyColor, color: greyColor,
), ),
)), ),
onFieldSubmitted: (value){
if (timer != null) {
timer!.cancel();
}
if (mounted){
denomLimits(
outletName,
info,
int.parse(amountController!.text.replaceAll(",", ""))
);
}
},
),
), ),
], ],
), ),
...@@ -1695,11 +1707,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -1695,11 +1707,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
.replaceAll(",", ""))); .replaceAll(",", "")));
} }
}); });
// _showQris(context);
/*buildGetQr();*/
/*_getQris();*/
// Navigator.pop(context);
}, },
), ),
), ),
......
Markdown is supported
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