@@ -30,7 +30,7 @@ @implementation CodePush {
3030
3131 // Used to coordinate the dispatching of download progress events to JS.
3232 long long _latestExpectedContentLength;
33- long long _latestReceivedConentLength ;
33+ long long _latestReceivedContentLength ;
3434 NSTimeInterval _lastProgressEmitTimestamp;
3535
3636 BOOL _allowed;
@@ -320,7 +320,7 @@ - (void)dispatchDownloadProgressEvent {
320320 @" totalBytes" : [NSNumber
321321 numberWithLongLong: _latestExpectedContentLength],
322322 @" receivedBytes" : [NSNumber
323- numberWithLongLong: _latestReceivedConentLength ]
323+ numberWithLongLong: _latestReceivedContentLength ]
324324 }];
325325}
326326
@@ -714,8 +714,8 @@ -(void)loadBundleOnTick:(NSTimer *)timer {
714714 operationQueue: _methodQueue
715715 // The download is progressing forward
716716 progressCallback: ^(long long expectedContentLength, long long receivedContentLength) {
717- _latestExpectedContentLength = expectedContentLength;
718- _latestReceivedConentLength = receivedContentLength;
717+ self-> _latestExpectedContentLength = expectedContentLength;
718+ self-> _latestReceivedContentLength = receivedContentLength;
719719
720720 if (expectedContentLength == receivedContentLength) {
721721 [self dispatchDownloadProgressEvent ];
0 commit comments