mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-08 22:33:26 +01:00
[icons]: Fix: original icon is too small in "Change App Icon" screen
This commit is contained in:
@@ -149,10 +149,10 @@ private extension AltAppIconsViewController
|
||||
// we have to do this hardcodded name hack for .appiconset
|
||||
// else one can supply the artifacts via .imageset
|
||||
let image: UIImage? =
|
||||
UIImage(named: icon.imageName) ??
|
||||
UIImage(named: "\(icon.imageName)76x76@2x~ipad") ??
|
||||
UIImage(named: "\(icon.imageName)60x60@2x")
|
||||
|
||||
UIImage(named: "\(icon.imageName)60x60@2x") ??
|
||||
UIImage(named: icon.imageName)
|
||||
|
||||
config.image = image
|
||||
config.imageProperties.maximumSize = CGSize(width: imageWidth, height: imageWidth)
|
||||
config.imageProperties.cornerRadius = imageWidth / 5.0 // Copied from AppIconImageView
|
||||
|
||||
Reference in New Issue
Block a user