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) {
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),
);
}
});