diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-30 11:34:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 11:34:04 -0500 |
commit | c72e24f841b5771d74e82114e40ed81f15ec97a7 (patch) | |
tree | 9cde253f90c3a22bce0d27fd8991b32213526436 /src/lib/media/manip.web.ts | |
parent | 5fcca171291bbbfc63a0f9eaa153efd5d046c33e (diff) | |
download | voidsky-c72e24f841b5771d74e82114e40ed81f15ec97a7.tar.zst |
[APP-716] Add 'save image' button to the lightbox (#926)
* Add 'save image' button to the lightbox * Fix types * Fix types
Diffstat (limited to 'src/lib/media/manip.web.ts')
-rw-r--r-- | src/lib/media/manip.web.ts | 7 |
1 files changed, 6 insertions, 1 deletions
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') } |