about summary refs log tree commit diff
path: root/src/lib/media
diff options
context:
space:
mode:
authorJonathan Herbert <foohyfooh@gmail.com>2025-01-07 15:13:01 -0400
committerGitHub <noreply@github.com>2025-01-07 19:13:01 +0000
commitcdd7d040b9bdfbe9643ef60a94382827fd352c90 (patch)
tree7cc24214fb193c60e87fb7dccba4af35f513dda6 /src/lib/media
parentfe8d3b081c0511da240817576a3bf42a4010105f (diff)
downloadvoidsky-cdd7d040b9bdfbe9643ef60a94382827fd352c90.tar.zst
Fix `moveToPermanentPath` ext Default Missing '.' (#7281)
Diffstat (limited to 'src/lib/media')
-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: