fix apply button freezing device

This commit is contained in:
2020-01-05 16:57:32 +01:00
parent 419938c34d
commit 98a3a38cfc
4 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,5 @@
ARCHS = arm64 arm64e ARCHS = arm64 arm64e
TARGET = iphone:clang:10.3:10.3 TARGET = iphone:clang:11.2:11.2
include $(THEOS)/makefiles/common.mk include $(THEOS)/makefiles/common.mk

View File

@ -11,12 +11,8 @@
return _specifiers; return _specifiers;
} }
- (void)respring:(id)sender { - (void)apply {
[self.view endEditing:YES]; [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 { - (void)openTwitter {

View File

@ -1,5 +1,5 @@
ARCHS = arm64 arm64e ARCHS = arm64 arm64e
TARGET = iphone:10.3:10.3 TARGET = iphone:clang:11.2:11.2
include $(THEOS)/makefiles/common.mk include $(THEOS)/makefiles/common.mk

View File

@ -42,7 +42,7 @@
<key>cell</key> <key>cell</key>
<string>PSButtonCell</string> <string>PSButtonCell</string>
<key>action</key> <key>action</key>
<string>respring</string> <string>apply</string>
<key>label</key> <key>label</key>
<string>Apply</string> <string>Apply</string>
</dict> </dict>