[APP-716] Add 'save image' button to the lightbox (#926)

* Add 'save image' button to the lightbox

* Fix types

* Fix types
This commit is contained in:
Paul Frazee 2023-06-30 11:34:04 -05:00 committed by GitHub
parent 5fcca17129
commit c72e24f841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 4 deletions

View file

@ -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')
}