Skip to content

Commit

Permalink
Update gif guides for coil
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Nov 14, 2023
1 parent c86cad1 commit 11c59ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ You can load animated GIFs and WebP Images with your `ImageLoader`.
```kotlin
val context = LocalContext.current
val imageLoader = ImageLoader.Builder(context)
.componentRegistry {
.components {
if (SDK_INT >= 28) {
add(ImageDecoderDecoder.Factory())
} else {
Expand Down
2 changes: 1 addition & 1 deletion docs/coil/imageloader.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can load animated GIFs and WebP Images with your `ImageLoader`.
```kotlin
val context = LocalContext.current
val imageLoader = ImageLoader.Builder(context)
.componentRegistry {
.components {
if (SDK_INT >= 28) {
add(ImageDecoderDecoder.Factory())
} else {
Expand Down

0 comments on commit 11c59ab

Please sign in to comment.