From 8f110ad482c85bfd54335ffcb94e0a241df86825 Mon Sep 17 00:00:00 2001 From: sindhu Date: Tue, 18 Feb 2025 00:21:09 +0700 Subject: [PATCH] step 13 : modify duration alert until process done --- lib/screen/scan/scan_screen.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/screen/scan/scan_screen.dart b/lib/screen/scan/scan_screen.dart index f8f2808..f56d271 100644 --- a/lib/screen/scan/scan_screen.dart +++ b/lib/screen/scan/scan_screen.dart @@ -131,7 +131,7 @@ class ScanScreen extends HookConsumerWidget { } else if (next is UploadScanStateError) { isLoadingUpload.value = false; // errorMessage.value = next.message; - debugPrint(next.message); + print("Err : ${next.message}"); snackbarWidget( context, next.message, @@ -159,7 +159,8 @@ class ScanScreen extends HookConsumerWidget { context, 'Sedang Upload Foto...', snackbarType.warning, - Duration(seconds: 3), + // Duration(seconds: 3), + Duration(days: 1), ); } }); @@ -174,7 +175,8 @@ class ScanScreen extends HookConsumerWidget { context, 'Sedang Proses Gambar...', snackbarType.warning, - Duration(seconds: 5), + // Duration(seconds: 5), + Duration(days: 1), ); } });