Skip to content

Commit ac1707c

Browse files
committed
Removed unused sendDeviceEventWithName
1 parent 26b769d commit ac1707c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ios/ReactNativeBlobUtilRequest.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,7 @@ - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTas
571571

572572
NSNumber * now =[NSNumber numberWithFloat:((float)totalBytesWritten/(float)totalBytesExpectedToWrite)];
573573
if ([self.progressConfig shouldReport:now]) {
574-
[self.bridge.eventDispatcher
575-
sendDeviceEventWithName:EVENT_PROGRESS
574+
[self.baseModule emitEventDict:EVENT_PROGRESS
576575
body:@{
577576
@"taskId": taskId,
578577
@"written": [NSString stringWithFormat:@"%lld", (long long) totalBytesWritten],

0 commit comments

Comments
 (0)