Browse files

Fixed the animated parameter in hide:afterDelay: method.

  • Loading branch information...
1 parent 2235e68 commit 08c16cdd5d4123e08541c5e8dbf0ce0b6e3142f1 @matej matej committed Jan 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 MBProgressHUD.m
View
2 MBProgressHUD.m
@@ -462,7 +462,7 @@ - (void)hide:(BOOL)animated {
}
- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay {
- [self performSelector:@selector(hideDelayed:) withObject:[NSNumber numberWithBool:delay] afterDelay:delay];
+ [self performSelector:@selector(hideDelayed:) withObject:[NSNumber numberWithBool:animated] afterDelay:delay];
}
- (void)hideDelayed:(NSNumber *)animated {

0 comments on commit 08c16cd

Please sign in to comment.