From 3ccb898ba3bbbdb788314c6a69268ca049f925ba Mon Sep 17 00:00:00 2001 From: Thomas Wirth Date: Sat, 9 Nov 2024 08:17:46 +0100 Subject: [PATCH] Fix code sample in network docs (#2664) --- coil-network-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coil-network-core/README.md b/coil-network-core/README.md index 09e937f5a..456b8bd6d 100644 --- a/coil-network-core/README.md +++ b/coil-network-core/README.md @@ -67,7 +67,7 @@ Pass `CacheControlCacheStrategy` to your `NetworkFetcher` then register the cust ```kotlin OkHttpNetworkFetcherFactory( - cacheStrategy = CacheControlCacheStrategy(), + cacheStrategy = { CacheControlCacheStrategy() }, ) ```