From 114ad1df0d3a014638834f91fee313ae4b92e5e7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 15 Jul 2025 15:14:14 +0100 Subject: [PATCH] Fix missing image download button (#30320) Fixes https://github.com/element-hq/element-web/issues/30319 --- src/components/views/elements/ImageView.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/views/elements/ImageView.tsx b/src/components/views/elements/ImageView.tsx index f236e5193e..9b1384ba1a 100644 --- a/src/components/views/elements/ImageView.tsx +++ b/src/components/views/elements/ImageView.tsx @@ -620,6 +620,8 @@ function DownloadButton({ // Err on the side of safety. setCanDownload(false); }); + } else { + setCanDownload(true); } }, [mxEvent]);