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

Commit 2c555ba

Browse files
authored
Typo fix: lostTask -> lostTasks
1 parent 6688c8d commit 2c555ba

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
@@ -116,7 +116,7 @@ Add this code to app's init stage, and you'll never lose a download again!
116116
import RNBackgroundDownloader from 'react-native-background-downloader';
117117

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

0 commit comments

Comments
 (0)