From 98a3a38cfcf9578b8008d525bbd6e61d91c6bf8f Mon Sep 17 00:00:00 2001 From: yaypixxo Date: Sun, 5 Jan 2020 16:57:32 +0100 Subject: [PATCH] fix apply button freezing device --- Makefile | 2 +- cnonprefs/CNONRootListController.m | 6 +----- cnonprefs/Makefile | 2 +- cnonprefs/Resources/Root.plist | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index d49a274..56e72ef 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ARCHS = arm64 arm64e -TARGET = iphone:clang:10.3:10.3 +TARGET = iphone:clang:11.2:11.2 include $(THEOS)/makefiles/common.mk diff --git a/cnonprefs/CNONRootListController.m b/cnonprefs/CNONRootListController.m index 0cac39d..6437a2b 100644 --- a/cnonprefs/CNONRootListController.m +++ b/cnonprefs/CNONRootListController.m @@ -11,12 +11,8 @@ return _specifiers; } -- (void)respring:(id)sender { +- (void)apply { [self.view endEditing:YES]; - /*[NSThread sleepForTimeInterval:0.5f]; - pid_t pid; - const char* args[] = {"killall", "backboardd", NULL}; - posix_spawn(&pid, "/usr/bin/killall", NULL, NULL, (char* const*)args, NULL);*/ } - (void)openTwitter { diff --git a/cnonprefs/Makefile b/cnonprefs/Makefile index 1253a2a..fac8d51 100644 --- a/cnonprefs/Makefile +++ b/cnonprefs/Makefile @@ -1,5 +1,5 @@ ARCHS = arm64 arm64e -TARGET = iphone:10.3:10.3 +TARGET = iphone:clang:11.2:11.2 include $(THEOS)/makefiles/common.mk diff --git a/cnonprefs/Resources/Root.plist b/cnonprefs/Resources/Root.plist index cdbc364..5ea9755 100644 --- a/cnonprefs/Resources/Root.plist +++ b/cnonprefs/Resources/Root.plist @@ -42,7 +42,7 @@ cell PSButtonCell action - respring + apply label Apply