mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2026-06-06 03:12:01 +00:00
fixed typo in expectedBytes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user