Skip to content

Commit

Permalink
Update note about compile-safe Compose asset references in README. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite authored Jan 26, 2025
1 parent 009abba commit da79a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coil-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ AsyncImage(
```

!!! Note
`Res.drawable.image` and other compile-safe references are not supported by Coil; you must use `Res.getUri("drawable/image")` instead. It's not possible for Coil to support this until Compose Multiplatform exposes APIs to support it. [Follow this ticket](https://youtrack.jetbrains.com/issue/CMP-4360).
`Res.drawable.image` and other compile-safe references are not supported by Coil. You must use `Res.getUri("drawable/image")` instead. [Follow this issue for updates](https://github.com/coil-kt/coil/issues/2812).

0 comments on commit da79a33

Please sign in to comment.