summaryrefslogtreecommitdiff
path: root/Tweak.xm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2017-02-01 12:12:02 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2017-02-01 12:12:02 -0800
commit8a4ad65983a54c6dcee1af656b3c666f77e0c25f (patch)
treebc30b1678df96eb159db6bf9ea47589d7b1fad7c /Tweak.xm
parent42e97527a93a5bf5db7d5389ceb71a00aa60a910 (diff)
armv7s is iOS 6+, so this will fix 32-bit iOS 10+.
Diffstat (limited to 'Tweak.xm')
-rw-r--r--Tweak.xm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tweak.xm b/Tweak.xm
index 7c7c20a..f2748d6 100644
--- a/Tweak.xm
+++ b/Tweak.xm
@@ -107,7 +107,7 @@ void SafeModeAlertItem$alertView$clickedButtonAtIndex$(id self, SEL sel, id shee
void SafeModeAlertItem$configure$requirePasscodeForActions$(id self, SEL sel, BOOL configure, BOOL require) {
NSString *text(@"We apologize for the inconvenience, but SpringBoard has just crashed.\n\nMobileSubstrate /did not/ cause this problem: it has protected you from it.\n\nSpringBoard is now running in Safe Mode. All extensions that support this safety system are disabled.\n\nReboot (or restart SpringBoard) to return to the normal mode. To return to this dialog touch the status bar.\n\nTap \"Help\" below for more tips.");
-#ifdef __arm64__
+#if defined(__ARM_ARCH_7S__) || defined(__arm64__)
if ([self respondsToSelector:@selector(alertController)]) {
UIAlertController *alert([self alertController]);