Start downloading story thumbnails
This commit is contained in:
parent
9155784d56
commit
6cd1e3fdfc
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ export const StoryImage = ({
|
||||||
storyId,
|
storyId,
|
||||||
}: PropsType): JSX.Element | null => {
|
}: PropsType): JSX.Element | null => {
|
||||||
const shouldDownloadAttachment =
|
const shouldDownloadAttachment =
|
||||||
!isDownloaded(attachment) &&
|
(!isDownloaded(attachment) && !isDownloading(attachment)) ||
|
||||||
!isDownloading(attachment) &&
|
hasNotResolved(attachment);
|
||||||
!hasNotResolved(attachment);
|
|
||||||
|
|
||||||
const videoRef = useRef<HTMLVideoElement | null>(null);
|
const videoRef = useRef<HTMLVideoElement | null>(null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue