about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/lib/media/manip.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/media/manip.ts b/src/lib/media/manip.ts
index fb1e1cf8e..7f052068d 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<Image> {
   )
 }
 
-async function moveToPermanentPath(path: string, ext = '.jpg'): Promise<string> {
+async function moveToPermanentPath(path: string, ext: string): Promise<string> {
   /*
   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: