step 13 : modify duration alert until process done

This commit is contained in:
sindhu
2025-02-18 00:21:09 +07:00
parent 5120ebe827
commit 8f110ad482

View File

@@ -131,7 +131,7 @@ class ScanScreen extends HookConsumerWidget {
} else if (next is UploadScanStateError) { } else if (next is UploadScanStateError) {
isLoadingUpload.value = false; isLoadingUpload.value = false;
// errorMessage.value = next.message; // errorMessage.value = next.message;
debugPrint(next.message); print("Err : ${next.message}");
snackbarWidget( snackbarWidget(
context, context,
next.message, next.message,
@@ -159,7 +159,8 @@ class ScanScreen extends HookConsumerWidget {
context, context,
'Sedang Upload Foto...', 'Sedang Upload Foto...',
snackbarType.warning, snackbarType.warning,
Duration(seconds: 3), // Duration(seconds: 3),
Duration(days: 1),
); );
} }
}); });
@@ -174,7 +175,8 @@ class ScanScreen extends HookConsumerWidget {
context, context,
'Sedang Proses Gambar...', 'Sedang Proses Gambar...',
snackbarType.warning, snackbarType.warning,
Duration(seconds: 5), // Duration(seconds: 5),
Duration(days: 1),
); );
} }
}); });