Uses constant 5pt corner radius for non-rounded screenshots

Fixes iPad corners appearing too rounded.
This commit is contained in:
Riley Testut
2023-10-20 17:15:27 -05:00
parent 3120c036c8
commit 151d2e5c8c

View File

@@ -96,8 +96,7 @@ class AppScreenshotCollectionViewCell: UICollectionViewCell
} }
else else
{ {
let cornerRadius = self.imageView.bounds.width / 25.0 // Based on iPhone 8 self.imageView.layer.cornerRadius = 5
self.imageView.layer.cornerRadius = cornerRadius
} }
} }
} }