π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prune
Manav Rathiaf5e072ea531
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex 845e689152..d0d080b26a 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -115,26 +115,24 @@ export type PhotoViewerProps = Pick<** The underlying library that we use is called PhotoSwipe.*/-export const PhotoViewer: React.FC<PhotoViewerProps> = (props) => {- const {- isOpen,- items,- currentIndex,- onClose,- gettingData,- forceConvertItem,- favoriteFileIDs,- markUnsyncedFavoriteUpdate,- markTempDeleted,- isTrashCollection,- isInHiddenSection,- enableDownload,- setFilesDownloadProgressAttributesCreator,- fileToCollectionsMap,- collectionNameMap,- onSelectPerson,- } = props;-+export const PhotoViewer: React.FC<PhotoViewerProps> = ({+ isOpen,+ items,+ currentIndex,+ onClose,+ gettingData,+ forceConvertItem,+ favoriteFileIDs,+ markUnsyncedFavoriteUpdate,+ markTempDeleted,+ isTrashCollection,+ isInHiddenSection,+ enableDownload,+ setFilesDownloadProgressAttributesCreator,+ fileToCollectionsMap,+ collectionNameMap,+ onSelectPerson,+}) => {const galleryContext = useContext(GalleryContext);const { showLoadingBar, hideLoadingBar, showMiniDialog } =useContext(AppContext);@@ -984,26 +982,6 @@ const defaultLivePhotoDefaultOptions = {visible: false,};-const photoSwipeV4Events = [- "beforeChange",- "afterChange",- "imageLoadComplete",- "resize",- "gettingData",- "mouseUsed",- "initialZoomIn",- "initialZoomInEnd",- "initialZoomOut",- "initialZoomOutEnd",- "parseVerticalMargin",- "close",- "unbindEvents",- "destroy",- "updateScrollOffset",- "preventDragEvent",- "shareLinkClick",-];-const CaptionContainer = styled("div")(({ theme }) => ({padding: theme.spacing(2),wordBreak: "break-word",