mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Uses constant 5pt corner radius for non-rounded screenshots
Fixes iPad corners appearing too rounded.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user