From f3205473ddd59a6cfc7107c106e73dd9fe830247 Mon Sep 17 00:00:00 2001 From: Simon McLoughlin Date: Tue, 23 Jan 2024 11:19:48 +0000 Subject: [PATCH] enable animated webp images in mediaProxy --- Sources/KukaiCoreSwift/Services/MediaProxyService.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/KukaiCoreSwift/Services/MediaProxyService.swift b/Sources/KukaiCoreSwift/Services/MediaProxyService.swift index f477e237..c0526443 100644 --- a/Sources/KukaiCoreSwift/Services/MediaProxyService.swift +++ b/Sources/KukaiCoreSwift/Services/MediaProxyService.swift @@ -105,6 +105,7 @@ public class MediaProxyService: NSObject { MediaProxyService.prefetcher = SDWebImagePrefetcher(imageManager: temporaryImageManager) SDWebImageDownloader.shared.config.downloadTimeout = 60 + SDImageCodersManager.shared.addCoder(SDImageAWebPCoder.shared) } public static func imageManager(forCacheType: CacheType) -> SDWebImageManager? {