Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 6654df8

Browse files
committed
Fix Android upload progress
1 parent 49f8e90 commit 6654df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/src/main/java/com/RNFetchBlob/RNFetchBlobBody.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public FormField(ReadableMap rawData) {
370370
* @param written
371371
*/
372372
private void emitUploadProgress(int written) {
373-
if(!RNFetchBlobReq.isReportProgress(mTaskId))
373+
if(!RNFetchBlobReq.isReportUploadProgress(mTaskId))
374374
return;
375375
WritableMap args = Arguments.createMap();
376376
args.putString("taskId", mTaskId);

0 commit comments

Comments
 (0)