Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yeatse committed Jan 18, 2025
1 parent d729a94 commit ef4a4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/General/KingfisherManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ public class KingfisherManager: @unchecked Sendable {
@Sendable func checkResultImageAndCallback(_ inputImage: KFCrossPlatformImage) {
var image = inputImage
if image.kf.imageFrameCount != nil && image.kf.imageFrameCount != 1, options.imageCreatingOptions != image.kf.imageCreatingOptions, let data = image.kf.animatedImageData {
// Always recreate animated image representation since it is possible to be loaded in different options.
// Recreate animated image representation when loaded in different options.
// https://github.com/onevcat/Kingfisher/issues/1923
image = options.processor.process(item: .data(data), options: options) ?? .init()
}
Expand Down

0 comments on commit ef4a4fc

Please sign in to comment.