Skip to content

Commit 7e44967

Browse files
committed
Also use scale to comply to dynamic types
1 parent 4187c34 commit 7e44967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/ViewRelated/Products/ProductSelector/ProductImageThumbnail.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct ProductImageThumbnail<Placeholder: View>: View {
1414
///
1515
private var imageProcessor: ImageProcessor {
1616
let screenPixelScale = UIScreen.main.scale
17-
let sideSize = productImageSize * screenPixelScale
17+
let sideSize = productImageSize * screenPixelScale * scale
1818
let pixelSize = CGSize(
1919
width: sideSize,
2020
height: sideSize

0 commit comments

Comments
 (0)