Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Merge branch 'fix-shake-motion-test' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
diederich committed Apr 10, 2011
2 parents 123eea6 + ecdf222 commit c52f5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Three20UI/Sources/TTNavigatorWindow.m
Expand Up @@ -31,7 +31,7 @@ @implementation TTNavigatorWindow

///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event {
if (event.type == UIEventSubtypeMotionShake
if (UIEventSubtypeMotionShake == motion
&& [TTNavigator navigator].supportsShakeToReload) {
// If you're going to use a custom navigator implementation, you need to ensure that you
// implement the reload method. If you're inheriting from TTNavigator, then you're fine.
Expand Down

0 comments on commit c52f5f6

Please sign in to comment.