Updated AppIconOptionsController Implementation

This commit is contained in:
arichornlover 2024-04-13 03:53:29 -05:00 committed by GitHub
parent cc38d49f2e
commit 3028d73913
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@
- (void)saveIcon {
if (self.selectedIconFile) {
[[UIApplication sharedApplication] setAlternateIconName:[self.selectedIconFile.lastPathComponent stringByDeletingPathExtension] completionHandler:^(NSError * _Nullable error){
[[UIApplication sharedApplication] setAlternateIconName:@"logo_youtube_color60x60" completionHandler:^(NSError * _Nullable error){
if (error) {
NSLog(@"Error setting alternate icon: %@", error.localizedDescription);
dispatch_async(dispatch_get_main_queue(), ^{