diff --git a/FBTweak/FBTweakShakeWindow.m b/FBTweak/FBTweakShakeWindow.m index 3f881108..fe6eed34 100644 --- a/FBTweak/FBTweakShakeWindow.m +++ b/FBTweak/FBTweakShakeWindow.m @@ -12,9 +12,10 @@ #import "FBTweakShakeWindow.h" #import "FBTweakViewController.h" #import "_FBKeyboardManager.h" +#import // Minimum shake time required to present tweaks on device. -static CFTimeInterval _FBTweakShakeWindowMinTimeInterval = 0.4; +static CFTimeInterval _FBTweakShakeWindowMinTimeInterval = 0.2; @implementation FBTweakShakeWindow { BOOL _shaking; @@ -82,6 +83,7 @@ - (void)_presentTweaks FBTweakStore *store = [FBTweakStore sharedInstance]; FBTweakViewController *viewController = [[FBTweakViewController alloc] initWithStore:store]; viewController.tweaksDelegate = self; + AudioServicesPlayAlertSound(kSystemSoundID_Vibrate); [visibleViewController presentViewController:viewController animated:YES completion:NULL]; } }