From 3bb629a733f47a53304f50977295b0ec67cd40a7 Mon Sep 17 00:00:00 2001 From: Luong Bui Date: Fri, 23 Jun 2017 17:24:10 +0100 Subject: [PATCH] Allowed shake enablement for simulator too. --- FBTweak/FBTweakShakeWindow.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FBTweak/FBTweakShakeWindow.m b/FBTweak/FBTweakShakeWindow.m index 3f881108..f3fdebb5 100644 --- a/FBTweak/FBTweakShakeWindow.m +++ b/FBTweak/FBTweakShakeWindow.m @@ -89,7 +89,7 @@ - (void)_presentTweaks - (BOOL)_shouldPresentTweaks { #if TARGET_IPHONE_SIMULATOR && FB_TWEAK_ENABLED - return YES; + return _shakeEnabled; #elif FB_TWEAK_ENABLED return _shakeEnabled && _shaking && _active; #else