From c72e24f841b5771d74e82114e40ed81f15ec97a7 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 30 Jun 2023 11:34:04 -0500 Subject: [APP-716] Add 'save image' button to the lightbox (#926) * Add 'save image' button to the lightbox * Fix types * Fix types --- src/lib/media/manip.web.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/media/manip.web.ts') diff --git a/src/lib/media/manip.web.ts b/src/lib/media/manip.web.ts index 464802c32..914b05d2e 100644 --- a/src/lib/media/manip.web.ts +++ b/src/lib/media/manip.web.ts @@ -37,7 +37,12 @@ export async function downloadAndResize(opts: DownloadAndResizeOpts) { return await doResize(dataUri, opts) } -export async function saveImageModal(_opts: {uri: string}) { +export async function shareImageModal(_opts: {uri: string}) { + // TODO + throw new Error('TODO') +} + +export async function saveImageToAlbum(_opts: {uri: string; album: string}) { // TODO throw new Error('TODO') } -- cgit 1.4.1