Skip to content

Commit

Permalink
fix arm 64 compiling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Wu committed Jan 19, 2014
1 parent 0fffff8 commit 7ffa669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MBProgressHUD.m
Expand Up @@ -698,7 +698,7 @@ - (void)updateUIForKeypath:(NSString *)keyPath {
detailsLabel.textColor = self.detailsLabelColor;
} else if ([keyPath isEqualToString:@"progress"]) {
if ([indicator respondsToSelector:@selector(setProgress:)]) {
[(id)indicator setProgress:progress];
[(id)indicator setValue:@(progress) forKey:@"progress"];
}
return;
}
Expand Down

0 comments on commit 7ffa669

Please sign in to comment.