fixed typo in expectedBytes

This commit is contained in:
Elad Gil
2018-06-26 18:01:45 +03:00
parent 318a54e225
commit 7d79cb095e
3 changed files with 3 additions and 3 deletions
@@ -264,7 +264,7 @@ public class RNBackgroundDownloadModule extends ReactContextBaseJavaModule imple
params.putString("id", config.id);
if (!config.reportedBegin) {
params.putInt("expctedBytes", (int)download.getTotal());
params.putInt("expectedBytes", (int)download.getTotal());
ee.emit("downloadBegin", params);
config.reportedBegin = true;
} else {