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

Commit

Permalink
Allowed shake enablement for simulator too.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luong Bui committed Jun 23, 2017
1 parent 858506f commit 3bb629a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FBTweak/FBTweakShakeWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3bb629a

Please sign in to comment.