Commit dd3ee0a8 authored by Gandha Ryanto's avatar Gandha Ryanto

Merge remote-tracking branch 'origin/simplyfy-v2' into simplyfy-v2

parents 0497773c 40dad977
...@@ -604,7 +604,9 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -604,7 +604,9 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
isShowingDialog = true; isShowingDialog = true;
trxId = ""; trxId = "";
reffNo = ""; reffNo = "";
dataQris == null;
isShowingDialog = true; isShowingDialog = true;
amount = "";
_showTap(); _showTap();
tapDial(); tapDial();
}); });
...@@ -646,6 +648,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -646,6 +648,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
}); });
isShowingDialog = true; isShowingDialog = true;
dataQris == null; dataQris == null;
amount = "";
StartService.print( StartService.print(
prevInfoCard, prevInfoCard,
companyName.split("-")[0], companyName.split("-")[0],
...@@ -2121,7 +2124,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -2121,7 +2124,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
context: context, context: context,
builder: (context) { builder: (context) {
return StatefulBuilder(builder: (context, StateSetter setState) { return StatefulBuilder(builder: (context, StateSetter setState) {
Future.delayed(Duration(seconds: 2), () {
print("is process get $isProcessGet"); print("is process get $isProcessGet");
if (!isProcessGet) { if (!isProcessGet) {
isProcessGet = true; isProcessGet = true;
...@@ -2131,7 +2133,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback { ...@@ -2131,7 +2133,6 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
}); });
}); });
} }
});
return Container( return Container(
padding: padding:
const EdgeInsets.symmetric(horizontal: 150, vertical: 30), const EdgeInsets.symmetric(horizontal: 150, vertical: 30),
......
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