chore: Upgrade to latest react-native
This commit is contained in:
@@ -49,6 +49,7 @@ export const downloadTrack = createAsyncThunk(
|
||||
dispatch(initializeDownload({ id, jobId, size: contentLength, location }));
|
||||
},
|
||||
progress: (result) => {
|
||||
console.log('PROGRESS', result, url);
|
||||
// Dispatch a progress update
|
||||
dispatch(progressDownload({ id, progress: result.bytesWritten / result.contentLength }));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user