Skip to content

Commit

Permalink
fixing download path
Browse files Browse the repository at this point in the history
  • Loading branch information
balzack committed Jun 9, 2024
1 parent b2d8332 commit b5b8c8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function useImageAsset(asset) {
}
const block = await RNFS.read(path, 8, 0, 'base64');
if (block === '/9j/4AAQSkY=') {
await RNFS.moveFile(path, `${path}.jpg}`);
await RNFS.moveFile(path, `${path}.jpg`);
await RNFS.scanFile(`${path}.jpg}`);
}
}
Expand Down

0 comments on commit b5b8c8e

Please sign in to comment.