Skip to content

Commit 2009aa5

Browse files
dbkrgithub-actions[bot]
authored andcommitted
Fix missing image download button (#30320)
Fixes #30319 (cherry picked from commit 114ad1d)
1 parent f3058c9 commit 2009aa5

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)