Skip to content

Commit

Permalink
Update upload_controller.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed May 13, 2024
1 parent d00988c commit 6758cad
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/ardrive_uploader/lib/src/upload_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -391,17 +391,11 @@ class _UploadController implements UploadController {

void Function(UploadProgress progress)? _onProgressChange = (progress) {};

void Function(List<UploadTask> tasks) _onDone = (List<UploadTask> tasks) {
print('Upload Finished');
};
void Function(List<UploadTask> tasks) _onDone = (List<UploadTask> tasks) {};

void Function(List<UploadTask> tasks) _onCancel = (List<UploadTask> tasks) {
print('Upload Canceled');
};
void Function(List<UploadTask> tasks) _onCancel = (List<UploadTask> tasks) {};

void Function(List<UploadTask> tasks) _onError = (List<UploadTask> tasks) {
print('Upload Error');
};
void Function(List<UploadTask> tasks) _onError = (List<UploadTask> tasks) {};

void Function(UploadTask task) _onCompleteTask = (UploadTask tasks) {};

Expand Down

0 comments on commit 6758cad

Please sign in to comment.