mirror of
https://github.com/zebrajr/immich.git
synced 2026-01-15 12:15:42 +00:00
@@ -105,7 +105,7 @@ class ThumbnailApiImpl: ThumbnailApi {
|
||||
var image: UIImage?
|
||||
Self.imageManager.requestImage(
|
||||
for: asset,
|
||||
targetSize: CGSize(width: Double(width), height: Double(height)),
|
||||
targetSize: width > 0 && height > 0 ? CGSize(width: Double(width), height: Double(height)) : PHImageManagerMaximumSize,
|
||||
contentMode: .aspectFill,
|
||||
options: Self.requestOptions,
|
||||
resultHandler: { (_image, info) -> Void in
|
||||
|
||||
Reference in New Issue
Block a user