Skip to content

Commit

Permalink
Merge branch 'yepher-develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Dec 2, 2014
2 parents dcb28c6 + e5ccb4a commit b215d72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Core/Source/DTZipArchive/DTZipArchiveGZip.m
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,11 @@ - (NSData *)uncompressZipArchiveNode:(DTZipArchiveNode *)node withError:(NSError
{
if (![self.nodes containsObject:node])
{
NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Invalid node specified, cannot uncompress GZip file."};
*error = [[NSError alloc] initWithDomain:DTZipArchiveErrorDomain code:7 userInfo:userInfo];
if (error)
{
NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Invalid node specified, cannot uncompress GZip file."};
*error = [[NSError alloc] initWithDomain:DTZipArchiveErrorDomain code:7 userInfo:userInfo];
}

return nil;
}
Expand Down
1 change: 0 additions & 1 deletion Core/Source/iOS/DTProgressHUD/DTProgressHUD.m
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ - (void)_showAnimation
[collision addBoundaryWithIdentifier:@"barrier1" fromPoint:leftPoint toPoint:rightPoint];

// calculate points for barrier
height = self.center.y + PROGRESS_HEIGHT / 2;
leftPoint = CGPointMake(0, 0);
rightPoint = CGPointMake(self.center.x - PROGRESS_WIDTH / 2 - offset + BARRIER_LENGTH, 0);
[collision addBoundaryWithIdentifier:@"barrier2" fromPoint:leftPoint toPoint:rightPoint];
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/iOS/DTSidePanel/DTSidePanelController.m
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ - (void)handlePan:(UIPanGestureRecognizer *)gesture

- (void)presentPanel:(DTSidePanelControllerPanel)panel animated:(BOOL)animated
{
CGPoint targetPosition;
CGPoint targetPosition = [self _centerPanelPositionWithLeftPanelOpen];

_panelToPresentAfterLayout = panel;

Expand Down

0 comments on commit b215d72

Please sign in to comment.