Skip to content

Commit

Permalink
Merge pull request #399 from wildsurfer/patch-2
Browse files Browse the repository at this point in the history
Minor typo fix in README.md
  • Loading branch information
781flyingdutchman authored Oct 24, 2024
2 parents 261c688 + 42b1521 commit d4c1ad6
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 d4c1ad6

Please sign in to comment.