Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: only show images in slideshow

httpjamesmff37b482ad60
diff --git a/apps/cast/src/pages/slideshow.tsx b/apps/cast/src/pages/slideshow.tsx
index f6838276d3..be65ab4311 100644
--- a/apps/cast/src/pages/slideshow.tsx
+++ b/apps/cast/src/pages/slideshow.tsx
@@ -43,7 +43,10 @@ export default function Slideshow() {
const isFileEligibleForCast = (file: EnteFile) => {
const fileType = file.metadata.fileType;
- if (fileType !== FILE_TYPE.IMAGE && fileType !== FILE_TYPE.VIDEO) {
+ if (
+ fileType !== FILE_TYPE.IMAGE
+ // && fileType !== FILE_TYPE.VIDEO
+ ) {
return false;
}