From cdd7d040b9bdfbe9643ef60a94382827fd352c90 Mon Sep 17 00:00:00 2001 From: Jonathan Herbert Date: Tue, 7 Jan 2025 15:13:01 -0400 Subject: [PATCH] Fix `moveToPermanentPath` ext Default Missing '.' (#7281) --- src/lib/media/manip.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/media/manip.ts b/src/lib/media/manip.ts index e75f13755f..fb1e1cf8e6 100644 --- a/src/lib/media/manip.ts +++ b/src/lib/media/manip.ts @@ -215,7 +215,7 @@ async function doResize(localUri: string, opts: DoResizeOpts): Promise { ) } -async function moveToPermanentPath(path: string, ext = 'jpg'): Promise { +async function moveToPermanentPath(path: string, ext = '.jpg'): Promise { /* Since this package stores images in a temp directory, we need to move the file to a permanent location. Relevant: IOS bug when trying to open a second time: