mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 21:26:04 +00:00
Fix spelling errors
This commit is contained in:
parent
74940a53fb
commit
c5c8ca2ccb
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue