diff --git a/coil-base/src/main/java/coil/fetch/ResourceUriFetcher.kt b/coil-base/src/main/java/coil/fetch/ResourceUriFetcher.kt index e65d2d7b38..dde668b862 100644 --- a/coil-base/src/main/java/coil/fetch/ResourceUriFetcher.kt +++ b/coil-base/src/main/java/coil/fetch/ResourceUriFetcher.kt @@ -66,13 +66,13 @@ internal class ResourceUriFetcher( drawable }, isSampled = isVector, - dataSource = DataSource.MEMORY + dataSource = DataSource.DISK ) } else { SourceResult( source = resources.openRawResource(resId).source().buffer(), mimeType = mimeType, - dataSource = DataSource.MEMORY + dataSource = DataSource.DISK ) } }