π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[web][cast] Add slide logs
Neeraj Guptaecfb7d944dd4
diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsxindex b860523ab9..11b34baf75 100644--- a/web/apps/cast/src/pages/slideshow.tsx+++ b/web/apps/cast/src/pages/slideshow.tsx@@ -103,13 +103,26 @@ export default function Slideshow() {const showNextSlide = async () => {try {+ console.log("showNextSlide");const currentIndex = collectionFiles.findIndex((file) => file.id === currentFileId,);+ console.log(+ "showNextSlide-index",+ currentIndex,+ collectionFiles.length,+ );+const nextIndex = (currentIndex + 1) % collectionFiles.length;const nextNextIndex = (nextIndex + 1) % collectionFiles.length;+ console.log(+ "showNextSlide-nextIndex and nextNextIndex",+ nextIndex,+ nextNextIndex,+ );+const nextFile = collectionFiles[nextIndex];const nextNextFile = collectionFiles[nextNextIndex];