Skip to content

Commit f8171a1

Browse files
authored
send dispatchDownloadProgressEvent on every progress (#38)
1 parent 6de7c65 commit f8171a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/CodePush/CodePush.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ -(void)loadBundleOnTick:(NSTimer *)timer {
744744
if (expectedContentLength == receivedContentLength) {
745745
_didUpdateProgress = NO;
746746
self.paused = YES;
747-
[self dispatchDownloadProgressEvent];
748747
}
748+
[self dispatchDownloadProgressEvent];
749749
}
750750
// The download completed
751751
doneCallback:^{

0 commit comments

Comments
 (0)