Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 3bb629a

Browse files
author
Luong Bui
committed
Allowed shake enablement for simulator too.
1 parent 858506f commit 3bb629a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FBTweak/FBTweakShakeWindow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ - (void)_presentTweaks
8989
- (BOOL)_shouldPresentTweaks
9090
{
9191
#if TARGET_IPHONE_SIMULATOR && FB_TWEAK_ENABLED
92-
return YES;
92+
return _shakeEnabled;
9393
#elif FB_TWEAK_ENABLED
9494
return _shakeEnabled && _shaking && _active;
9595
#else

0 commit comments

Comments
 (0)