Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dolan SelfService Topup
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Faizol
Dolan SelfService Topup
Commits
40dad977
Commit
40dad977
authored
Aug 14, 2023
by
Izol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handle cache qris under 2 seconds
parent
e7f87570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
home_page.dart
lib/ui/pages/home_page.dart
+3
-2
No files found.
lib/ui/pages/home_page.dart
View file @
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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment