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
committed by Magesh K
parent 65562602af
commit a53d45b1dc

View File

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