Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Retain previous (pre-ps5) behaviour

Manav Rathiffd2a55ca0d3
diff --git a/web/packages/gallery/components/viewer/FileViewer.tsx b/web/packages/gallery/components/viewer/FileViewer.tsx
index 8d1ee9aae2..7df4d8ee4d 100644
--- a/web/packages/gallery/components/viewer/FileViewer.tsx
+++ b/web/packages/gallery/components/viewer/FileViewer.tsx
@@ -512,6 +512,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
})();
const showCopyImage = (() => {
+ if (disableDownload) return false;
switch (file.metadata.fileType) {
case FileType.image:
case FileType.livePhoto: