diff --git a/app/components/MessageAttachments/MessageImage.tsx b/app/components/MessageAttachments/MessageImage.tsx index 2361ed6..d9247d3 100644 --- a/app/components/MessageAttachments/MessageImage.tsx +++ b/app/components/MessageAttachments/MessageImage.tsx @@ -55,7 +55,7 @@ export function MessageImage(props: AttachmentProps) { return; } } - + console.info(downloadStatus); return ( setLoadedImage(true)}>)} - {((downloadStatus != DownloadStatus.DOWNLOADED && downloadStatus != DownloadStatus.PENDING) || !loadedImage) && preview.length >= 20 && ( + {((downloadStatus == DownloadStatus.NOT_DOWNLOADED) || !loadedImage) && preview.length >= 20 && ( <> - - + + {!error && ( )} - + )}