Skip to content

Commit

Permalink
fix: tests for audio controller
Browse files Browse the repository at this point in the history
  • Loading branch information
khushal87 committed Nov 4, 2024
1 parent 079e1c3 commit b1573b5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ export const ImageGalleryFooterWithContext = <
const share = async () => {
setShareMenuOpen(true);
try {
if (!shareImage || !deleteFile) {
return;
}
const extension = photo.mime_type?.split('/')[1] || 'jpg';
const localFile = await saveFile({
fileName: `${photo.user?.id || 'ChatPhoto'}-${
Expand Down

0 comments on commit b1573b5

Please sign in to comment.