From c5c8ca2ccba1be739c7523f1d2de8f5bae248a01 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Wed, 1 May 2024 17:44:52 -0500 Subject: [PATCH] Fix spelling errors --- Sources/AppIconOptionsController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/AppIconOptionsController.m b/Sources/AppIconOptionsController.m index 8bf41d4..d412e66 100644 --- a/Sources/AppIconOptionsController.m +++ b/Sources/AppIconOptionsController.m @@ -43,7 +43,7 @@ NSBundle *bundle = [NSBundle bundleWithPath:path]; self.appIcons = [bundle pathsForResourcesOfType:@"png" inDirectory:@"AppIcons"]; - if (![UIApplication sharedApplication].supportsAlternateIcons) { + if (![UIApplication sharedApplication] supportsAlternateIcons) { NSLog(@"Alternate icons are not supported on this device."); } } @@ -103,6 +103,7 @@ - (void)saveIcon { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary]; NSString *selectedIconName = self.selectedIconIndex >= 0 ? [self.appIcons[self.selectedIconIndex] lastPathComponent] : nil; if (selectedIconName) {