Skip to content

Commit

Permalink
Update section title for UserDefaultsReporter usage description
Browse files Browse the repository at this point in the history
  • Loading branch information
raphkoebraam committed Apr 17, 2024
1 parent 981d4f3 commit d7eb8c6
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 @@ -131,7 +131,7 @@ func send(report: DiagnosticsReport) {
}
```

### Using a custom UserDefaults type
### Using a UserDefaultsReporter
In order to use `UserDefaultsReporter`, you need to set instantiate it with the desired `UserDefaults` instance together with all the keys you would like to read, and use it in `DiagnosticsReporter.create(filename:using:filters:smartInsightsProvider)` to create a `DiagnosticsReport`.

```swift
Expand Down

0 comments on commit d7eb8c6

Please sign in to comment.