diff --git a/Sources/Image/ImageTransition.swift b/Sources/Image/ImageTransition.swift index 91c660bd3..60f1c254a 100644 --- a/Sources/Image/ImageTransition.swift +++ b/Sources/Image/ImageTransition.swift @@ -56,7 +56,7 @@ public enum ImageTransition: Sendable { /// - completion: A block called when the transition animation finishes. case custom(duration: TimeInterval, options: UIView.AnimationOptions, - animations: (@Sendable (UIImageView, UIImage) -> Void)?, + animations: (@Sendable @MainActor (UIImageView, UIImage) -> Void)?, completion: (@Sendable (Bool) -> Void)?) var duration: TimeInterval {