mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images
This commit is contained in:
@@ -10,7 +10,7 @@ export function shouldUseFullSizeLinkPreviewImage({
|
||||
isStickerPack,
|
||||
image,
|
||||
}: Readonly<LinkPreviewType>): boolean {
|
||||
if (isStickerPack || !isImageAttachment(image)) {
|
||||
if (isStickerPack || !image || !isImageAttachment(image)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user