From f22d9d32578b04a9ef1c69a62ecbedce776632a7 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Mon, 15 Apr 2024 18:12:54 -0500 Subject: [PATCH] Update RootOptionsController.m --- Sources/RootOptionsController.m | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Sources/RootOptionsController.m b/Sources/RootOptionsController.m index ba464ea..d62533a 100644 --- a/Sources/RootOptionsController.m +++ b/Sources/RootOptionsController.m @@ -164,19 +164,6 @@ @implementation RootOptionsController (Privates) -- (void)showAppIconOptions { - if (@available(iOS 15.0, *)) { - AppIconOptionsController *appIconOptionsController = [[AppIconOptionsController alloc] init]; - UINavigationController *appIconOptionsNavController = [[UINavigationController alloc] initWithRootViewController:appIconOptionsController]; - [self presentViewController:appIconOptionsNavController animated:YES completion:nil]; - } else { - NSString *systemVersion = [[UIDevice currentDevice] systemVersion]; - UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Incompatible" message:[NSString stringWithFormat:@"Changing app icons is only available on iOS 15 and later.\nYour Device is currently using iOS %@.", systemVersion] preferredStyle:UIAlertControllerStyleAlert]; - [alert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]]; - [self presentViewController:alert animated:YES completion:nil]; - } -} - - (void)done { [self.presentingViewController dismissViewControllerAnimated:YES completion:nil]; }