Skip to content

Commit

Permalink
enable animated webp images in mediaProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jan 23, 2024
1 parent 6a7d1f9 commit f320547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/KukaiCoreSwift/Services/MediaProxyService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down

0 comments on commit f320547

Please sign in to comment.