From 6cd1e3fdfc2719e4e4c8f021cf2ab0b3a686a2b8 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Fri, 1 Jul 2022 01:36:40 -0400 Subject: [PATCH] Start downloading story thumbnails --- ts/components/StoryImage.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ts/components/StoryImage.tsx b/ts/components/StoryImage.tsx index 6032655b16cf..7dbb954118c7 100644 --- a/ts/components/StoryImage.tsx +++ b/ts/components/StoryImage.tsx @@ -47,9 +47,8 @@ export const StoryImage = ({ storyId, }: PropsType): JSX.Element | null => { const shouldDownloadAttachment = - !isDownloaded(attachment) && - !isDownloading(attachment) && - !hasNotResolved(attachment); + (!isDownloaded(attachment) && !isDownloading(attachment)) || + hasNotResolved(attachment); const videoRef = useRef(null);