From 1203c9f5f245c22bc883bae5f72459b7b2d687b2 Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:22:53 +0530 Subject: [PATCH] [icons]: Fix: original icon is too small in "Change App Icon" screen --- AltStore/Settings/AltAppIconsViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AltStore/Settings/AltAppIconsViewController.swift b/AltStore/Settings/AltAppIconsViewController.swift index d3e7fa07..c44ccdbd 100644 --- a/AltStore/Settings/AltAppIconsViewController.swift +++ b/AltStore/Settings/AltAppIconsViewController.swift @@ -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