From b5b8c8e2cb92e3b2c4ca66a6df4e688b1bd07cef Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Sun, 9 Jun 2024 10:04:43 -0700 Subject: [PATCH] fixing download path --- .../conversation/topicItem/imageAsset/useImageAsset.hook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mobile/src/session/conversation/topicItem/imageAsset/useImageAsset.hook.js b/app/mobile/src/session/conversation/topicItem/imageAsset/useImageAsset.hook.js index a8ffce9ed..670d4dfb2 100644 --- a/app/mobile/src/session/conversation/topicItem/imageAsset/useImageAsset.hook.js +++ b/app/mobile/src/session/conversation/topicItem/imageAsset/useImageAsset.hook.js @@ -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}`); } }