Skip to content

Commit

Permalink
Remove AnimatedImageCache
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Dec 24, 2024
1 parent 934e7ee commit 0136de2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 103 deletions.
2 changes: 0 additions & 2 deletions WordPress/Classes/Utility/Media/MediaExternalExporter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ class MediaExternalExporter: MediaExporter {
return Progress.discreteCompletedProgress()
}

/// Downloads an external GIF file, or uses one from the AnimatedImageCache.
///
private func downloadGif(from url: URL, onCompletion: @escaping OnMediaExport, onError: @escaping OnExportError) -> Progress {
Task {
do {
Expand Down
2 changes: 0 additions & 2 deletions WordPress/Classes/Utility/Media/MemoryCache+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ extension MemoryCache {
UIImageView.af.sharedImageDownloader = AlamofireImage.ImageDownloader(
imageCache: AlamofireImageCacheAdapter(cache: .shared)
)

// WordPress.AnimatedImageCache uses WordPress.MemoryCache directly
}
}

Expand Down
99 changes: 0 additions & 99 deletions WordPress/Classes/ViewRelated/Media/AnimatedImageCache.swift

This file was deleted.

0 comments on commit 0136de2

Please sign in to comment.