We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf9a9d commit a4f6b5cCopy full SHA for a4f6b5c
SDWebImageSwiftUI/Classes/AnimatedImage.swift
@@ -322,7 +322,7 @@ public struct AnimatedImage : PlatformViewRepresentable {
322
var image: PlatformImage? = SDAnimatedImage(data: data, scale: imageModel.scale)
323
if image == nil {
324
// For static image, use UIImage as defaults
325
- image = PlatformImage(data: data)
+ image = PlatformImage.sd_image(with: data, scale: imageModel.scale)
326
}
327
context.coordinator.imageLoading.imageData = data
328
view.wrapped.image = image
0 commit comments