Skip to content

Commit

Permalink
Fixed the animated parameter in hide:afterDelay: method.
Browse files Browse the repository at this point in the history
  • Loading branch information
matej committed Jan 17, 2012
1 parent 2235e68 commit 08c16cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MBProgressHUD.m
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 08c16cd

Please sign in to comment.