Skip to content

Commit

Permalink
Minor bug in Demo project fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
daria-kopaliani committed Aug 27, 2013
1 parent 2a6dfa0 commit 6f213eb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ - (void)viewDidLoad
[super viewDidLoad];
self.imageView.layer.masksToBounds = YES;
self.imageView.layer.cornerRadius = 35.;
self.progressOverlayView = [[DAProgressOverlayView alloc] initWithFrame:self.imageView.bounds];
[self.imageView addSubview:self.progressOverlayView];

}

- (IBAction)downloadButtonTapped:(id)sender
{
self.progressOverlayView = [[DAProgressOverlayView alloc] initWithFrame:self.imageView.bounds];
[self.imageView addSubview:self.progressOverlayView];
self.downloadButton.enabled = NO;
[self.downloadButton setTitle:@"Downloading..." forState:UIControlStateNormal];
[self.progressOverlayView displayOperationWillTriggerAnimation];
Expand Down

0 comments on commit 6f213eb

Please sign in to comment.