Skip to content

armgit / ente

Public Imported from GitHub
0

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

revert(photos):restore-sequential-slideshow-prefetch

Aswin Asok65d08aef5a0e
diff --git a/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx b/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
index cdab1be50b..d772c9e999 100644
--- a/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
+++ b/web/apps/photos/src/components/Collections/AlbumSlideshow.tsx
@@ -135,9 +135,7 @@ export function AlbumSlideshow({ files, title, onClose }: AlbumSlideshowProps) {
)) {
void downloadManager
.renderableThumbnailURL(file)
- .catch(() => undefined);
- void downloadManager
- .renderableSourceURLs(file)
+ .then(() => downloadManager.renderableSourceURLs(file))
.catch(() => undefined);
}
}, [orderedFiles, slide.index]);