π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix
Manav Rathi0eb01f9cf470
diff --git a/web/apps/photos/src/components/Collections/AllCollections/content.tsx b/web/apps/photos/src/components/Collections/AllCollections/content.tsxindex d06df025cd..d518783745 100644--- a/web/apps/photos/src/components/Collections/AllCollections/content.tsx+++ b/web/apps/photos/src/components/Collections/AllCollections/content.tsx@@ -15,7 +15,7 @@ import {ListChildComponentProps,areEqual,} from "react-window";-import { AllCollectionMobileBreakpoint } from "./dialog";+import { AllCollectionMobileBreakpoint } from ".";const MobileColumns = 2;const DesktopColumns = 3;diff --git a/web/apps/photos/src/components/Collections/AllCollections/dialog.tsx b/web/apps/photos/src/components/Collections/AllCollections/dialog.tsxdeleted file mode 100644index e69de29bb2..0000000000diff --git a/web/apps/photos/src/components/Collections/AllCollections/index.tsx b/web/apps/photos/src/components/Collections/AllCollections/index.tsxindex 0626047df7..7be7d411d6 100644--- a/web/apps/photos/src/components/Collections/AllCollections/index.tsx+++ b/web/apps/photos/src/components/Collections/AllCollections/index.tsx@@ -71,6 +71,8 @@ export default function AllCollections(props: AllCollectionsProps) {);}+export const AllCollectionMobileBreakpoint = 559+const AllCollectionDialog = styled(Dialog)(({ theme }) => ({"& .MuiDialog-container": {justifyContent: "flex-end",@@ -85,7 +87,7 @@ const AllCollectionDialog = styled(Dialog)(({ theme }) => ({"& .MuiDialogContent-root": {padding: theme.spacing(2),},- [theme.breakpoints.down(559)]: {+ [theme.breakpoints.down(AllCollectionMobileBreakpoint)]: {"& .MuiPaper-root": {width: "324px",},diff --git a/web/apps/photos/src/components/Upload/Uploader.tsx b/web/apps/photos/src/components/Upload/Uploader.tsxindex 38e732a083..e703fadb67 100644--- a/web/apps/photos/src/components/Upload/Uploader.tsx+++ b/web/apps/photos/src/components/Upload/Uploader.tsx@@ -213,7 +213,7 @@ export default function Uploader({*/const pickedUploadType = useRef<PICKED_UPLOAD_TYPE>(null);- const currentUploadPromise = useRef<Promise<void> | undefined>();+ const currentUploadPromise = useRef<Promise<void> | undefined>(undefined);const uploadRunning = useRef(false);const uploaderNameRef = useRef<string>(null);const isDragAndDrop = useRef(false);