Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.

Commit 8a28733

Browse files
authored
Merge pull request #29 from murtraja/patch-1
Typo fix: lostTask -> lostTasks
2 parents 490b179 + 2c555ba commit 8a28733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Add this code to app's init stage, and you'll never lose a download again!
118118
import RNBackgroundDownloader from 'react-native-background-downloader';
119119

120120
let lostTasks = await RNBackgroundDownloader.checkForExistingDownloads();
121-
for (let task of lostTask) {
121+
for (let task of lostTasks) {
122122
console.log(`Task ${task.id} was found!`);
123123
task.progress((percent) => {
124124
console.log(`Downloaded: ${percent * 100}%`);

0 commit comments

Comments
 (0)