step 13 : modify duration alert until process done
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user