We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 932b33b commit 9cf058eCopy full SHA for 9cf058e
SDWebImageSwiftUI/Classes/AnimatedImage.swift
@@ -307,7 +307,7 @@ public struct AnimatedImage : PlatformViewRepresentable {
307
var image: PlatformImage? = SDAnimatedImage(data: data, scale: imageModel.scale)
308
if image == nil {
309
// For static image, use UIImage as defaults
310
- image = PlatformImage(data: data)
+ image = PlatformImage.sd_image(with: data, scale: imageModel.scale)
311
}
312
context.coordinator.imageLoading.imageData = data
313
view.wrapped.image = image
0 commit comments