From 8a4ad65983a54c6dcee1af656b3c666f77e0c25f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 1 Feb 2017 12:12:02 -0800 Subject: armv7s is iOS 6+, so this will fix 32-bit iOS 10+. --- Tweak.xm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tweak.xm') 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]); -- cgit v1.2.3