about summary refs log tree commit diff
path: root/src/lib/media/manip.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/media/manip.ts')
-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 e75f13755..fb1e1cf8e 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 = '.jpg'): 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: