[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:
parent
5fcca17129
commit
c72e24f841
4 changed files with 60 additions and 4 deletions
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue