Commit 8d279c0f authored by Izol's avatar Izol

added handle after topup customer auto check saldo in 5 seconds

parent 987da09a
......@@ -512,7 +512,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
dialogType: DialogType.success,
animType: AnimType.rightSlide,
dismissOnTouchOutside: false,
// autoHide: Duration(seconds: int.parse(idle)),
autoHide: Duration(seconds: 5),
headerAnimationLoop: true,
title: 'Isi Ulang Anda Berhasil, Saldo Anda Saat Ini $balance',
titleTextStyle: blackTextStyle.copyWith(
......@@ -525,9 +525,12 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
fontWeight: medium,
),
).show();
// isShowingDialog = true;
).show().then((value) {
timer?.cancel();
isShowingDialog = true;
_showTap();
tapDial();
});
infoM = await StartService.print(
info,
......@@ -2294,7 +2297,7 @@ class _HomePageState extends State<HomePage> implements AlertDialogCallback {
Widget buildwalletCard() {
return Center(
child: Container(
width: 1050,
width: 1090,
height: 480,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(28),
......
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