@@ -80,46 +80,46 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
8080- (void )tableView : (UITableView *)tableView didSelectRowAtIndexPath : (NSIndexPath *)indexPath
8181{
8282id <SlideNavigationContorllerAnimator> revealAnimator;
83- CGFloat animationDuration = 0 ;
83+ CGFloat animationDuration = 0 ;
8484
8585switch (indexPath.row )
8686{
8787case 0 :
8888revealAnimator = nil ;
89- animationDuration = .19 ;
89+ animationDuration = .19 ;
9090break ;
9191
9292case 1 :
9393revealAnimator = [[SlideNavigationContorllerAnimatorSlide alloc ] init ];
94- animationDuration = .19 ;
94+ animationDuration = .19 ;
9595break ;
9696
9797case 2 :
9898revealAnimator = [[SlideNavigationContorllerAnimatorFade alloc ] init ];
99- animationDuration = .18 ;
99+ animationDuration = .18 ;
100100break ;
101101
102102case 3 :
103103revealAnimator = [[SlideNavigationContorllerAnimatorSlideAndFade alloc ] initWithMaximumFadeAlpha: .8 fadeColor: [UIColor blackColor ] andSlideMovement: 100 ];
104- animationDuration = .19 ;
104+ animationDuration = .19 ;
105105break ;
106106
107107case 4 :
108108revealAnimator = [[SlideNavigationContorllerAnimatorScale alloc ] init ];
109- animationDuration = .22 ;
109+ animationDuration = .22 ;
110110break ;
111111
112112case 5 :
113113revealAnimator = [[SlideNavigationContorllerAnimatorScaleAndFade alloc ] initWithMaximumFadeAlpha: .6 fadeColor: [UIColor blackColor ] andMinimumScale: .8 ];
114- animationDuration = .22 ;
114+ animationDuration = .22 ;
115115break ;
116116
117117default :
118118return ;
119119}
120120
121121[[SlideNavigationController sharedInstance ] closeMenuWithCompletion: ^{
122- [SlideNavigationController sharedInstance ].menuRevealAnimationDuration = animationDuration;
122+ [SlideNavigationController sharedInstance ].menuRevealAnimationDuration = animationDuration;
123123[SlideNavigationController sharedInstance ].menuRevealAnimator = revealAnimator;
124124}];
125125}
0 commit comments