mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-03 14:51:18 +01:00
Start downloading story thumbnails
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user