mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 23:47:39 +01:00
bug-fix: should be checking for iconName and not imageName anymore
This commit is contained in:
@@ -196,7 +196,7 @@ extension AltAppIconsViewController
|
|||||||
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
|
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
|
||||||
{
|
{
|
||||||
let icon = self.dataSource.item(at: 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
|
// Deselect previous icon + select new icon
|
||||||
collectionView.reloadData()
|
collectionView.reloadData()
|
||||||
|
|||||||
Reference in New Issue
Block a user