Skip to content

Commit

Permalink
Minor typo fix in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wildsurfer authored Oct 24, 2024
1 parent 261c688 commit 42b1521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Make sure to check for, and if necessary request, permission to display notifica

If you download or upload multiple files simultaneously, you may not want a notification for every task, but one notification representing the group of tasks. To do this, set the `groupNotificationId` field in a `notificationConfig` and use that configuration for all tasks in this group. It is easiest to combine this with the `group` field of the task, e.g.:
```dart
FileDownloader.configureNotificationForGroup('bunchOfFiles', // refers to the Task.group field
FileDownloader().configureNotificationForGroup('bunchOfFiles', // refers to the Task.group field
running: const TaskNotification(
'{numFinished} out of {numTotal}', 'Progress = {progress}'),
complete:
Expand Down

0 comments on commit 42b1521

Please sign in to comment.