chore: Upgrade to latest react-native

This commit is contained in:
Lei Nelissen
2022-11-12 16:22:39 +01:00
parent c19b9d8920
commit c7aec30e39
24 changed files with 6835 additions and 8383 deletions

View File

@@ -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 }));
},