Skip to content

Commit 557293a

Browse files
RiotRobotdbkr
andauthored
Fix missing image download button (#30320) (#30322)
Co-authored-by: David Baker <dbkr@users.noreply.github.com> Fixes #30319
1 parent f3058c9 commit 557293a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/views/elements/ImageView.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ function DownloadButton({
620620
// Err on the side of safety.
621621
setCanDownload(false);
622622
});
623+
} else {
624+
setCanDownload(true);
623625
}
624626
}, [mxEvent]);
625627

0 commit comments

Comments
 (0)