bug-fix: should be checking for iconName and not imageName anymore

This commit is contained in:
mahee96
2026-02-22 11:27:05 +05:30
parent 8a63725113
commit 1103a7f0b4

View File

@@ -196,7 +196,7 @@ extension AltAppIconsViewController
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
{
let icon = self.dataSource.item(at: indexPath)
guard UIApplication.shared.alternateIconName != icon.imageName else { return }
guard UIApplication.shared.alternateIconName != icon.iconName else { return }
// Deselect previous icon + select new icon
collectionView.reloadData()