diff --git a/Sources/BackportAsyncImage/BackportAsyncImage.swift b/Sources/BackportAsyncImage/BackportAsyncImage.swift index c00405a..7967c64 100644 --- a/Sources/BackportAsyncImage/BackportAsyncImage.swift +++ b/Sources/BackportAsyncImage/BackportAsyncImage.swift @@ -96,7 +96,7 @@ private final class ViewModel: ObservableObject { .map(Image.init(nsImage:)) #else return data - .flatMap(UIImage.init(data:)) + .flatMap { UIImage(data: $0, scale: scale) } .map(Image.init(uiImage:)) #endif }