From b665b281eb9188da19ef07c43097e85458f95ad4 Mon Sep 17 00:00:00 2001 From: mac-user669 Date: Fri, 24 Jan 2020 12:40:17 -0500 Subject: [PATCH] Cleanup and ready for Colorpicker --- .../ZNDarkPrefsRootListController.h | 1 - .../ZNDarkPrefsRootListController.m | 24 ------------------- 2 files changed, 25 deletions(-) diff --git a/zenithdarkprefs/ZNDarkPrefsRootListController.h b/zenithdarkprefs/ZNDarkPrefsRootListController.h index 42f1122..eb26f31 100644 --- a/zenithdarkprefs/ZNDarkPrefsRootListController.h +++ b/zenithdarkprefs/ZNDarkPrefsRootListController.h @@ -15,7 +15,6 @@ @property (nonatomic, strong) UIWindow *mainAppRootWindow; @end - // we use this to respring our device! @interface NSTask : NSObject @property (copy) NSArray *arguments; diff --git a/zenithdarkprefs/ZNDarkPrefsRootListController.m b/zenithdarkprefs/ZNDarkPrefsRootListController.m index e53682b..b188c25 100644 --- a/zenithdarkprefs/ZNDarkPrefsRootListController.m +++ b/zenithdarkprefs/ZNDarkPrefsRootListController.m @@ -56,30 +56,6 @@ } --(void)followMe { - NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/mac_user669"]; - [[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil]; -} - --(void)followiKA { - NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/iKilledAppl3"]; - [[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil]; -} - --(void)followSkitty { - NSURL *twitter = [NSURL URLWithString:@"https://twitter.com/SkittyBlock"]; - [[UIApplication sharedApplication] openURL:twitter options:@{} completionHandler:nil]; -} - - --(void)respring { - NSTask *task = [[[NSTask alloc] init] autorelease]; - [task setLaunchPath:@"/usr/bin/killall"]; - [task setArguments:[NSArray arrayWithObjects:@"backboardd", nil]]; - [task launch]; - -} - -(void)doAFancyRespring { UIAlertController *confirmRespringAlert = [UIAlertController alertControllerWithTitle:@"Apply Settings?" message:@"This will respring your device." preferredStyle:UIAlertControllerStyleActionSheet];