From 6758cad197c5ceb170fa908e20135fb463f95088 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho <32248947+thiagocarvalhodev@users.noreply.github.com> Date: Mon, 13 May 2024 16:37:00 -0300 Subject: [PATCH] Update upload_controller.dart --- .../ardrive_uploader/lib/src/upload_controller.dart | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/ardrive_uploader/lib/src/upload_controller.dart b/packages/ardrive_uploader/lib/src/upload_controller.dart index c4b6f54042..eb9c6648b1 100644 --- a/packages/ardrive_uploader/lib/src/upload_controller.dart +++ b/packages/ardrive_uploader/lib/src/upload_controller.dart @@ -391,17 +391,11 @@ class _UploadController implements UploadController { void Function(UploadProgress progress)? _onProgressChange = (progress) {}; - void Function(List tasks) _onDone = (List tasks) { - print('Upload Finished'); - }; + void Function(List tasks) _onDone = (List tasks) {}; - void Function(List tasks) _onCancel = (List tasks) { - print('Upload Canceled'); - }; + void Function(List tasks) _onCancel = (List tasks) {}; - void Function(List tasks) _onError = (List tasks) { - print('Upload Error'); - }; + void Function(List tasks) _onError = (List tasks) {}; void Function(UploadTask task) _onCompleteTask = (UploadTask tasks) {};