Skip to content

Commit

Permalink
Fix moveToPermanentPath ext Default Missing '.' (#7281)
Browse files Browse the repository at this point in the history
  • Loading branch information
foohyfooh authored Jan 7, 2025
1 parent fe8d3b0 commit cdd7d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/media/manip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cdd7d04

Please sign in to comment.