mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 11:13:28 +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
|
else
|
||||||
{
|
{
|
||||||
let cornerRadius = self.imageView.bounds.width / 25.0 // Based on iPhone 8
|
self.imageView.layer.cornerRadius = 5
|
||||||
self.imageView.layer.cornerRadius = cornerRadius
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user