Skip to content

Commit

Permalink
-Remove unnecessary call of layoutSubviews in DRBShotDetailView
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakowski committed Feb 20, 2013
1 parent 76d0c03 commit 879278b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dribbbler/iPhone/Views/DRBShotDetailView.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ - (id)initWithFrame:(CGRect)frame andShot:(DRBShot *)inShot

[DRBAPIHandler loadImageWithUrlString:_shot.imageUrlString withSuccessBlock:^(UIImage *inImage)
{
dispatch_async(dispatch_get_main_queue(), ^{
dispatch_async(dispatch_get_main_queue(), ^
{
[self.shotImageView setImage:inImage];
[self layoutSubviews];
});
}
andFailureBlock:^(NSArray *inResponseArray)
Expand Down

0 comments on commit 879278b

Please sign in to comment.