π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fin
Manav Rathi4926783905b5
diff --git a/web/apps/photos/src/components/WatchFolder.tsx b/web/apps/photos/src/components/WatchFolder.tsxindex fb8f089c27..df3986cec5 100644--- a/web/apps/photos/src/components/WatchFolder.tsx+++ b/web/apps/photos/src/components/WatchFolder.tsx@@ -311,12 +311,7 @@ const EntryOptions: React.FC<EntryOptionsProps> = ({ confirmStopWatching }) => {return (<OverflowMenuariaID={"watch-mapping-option"}- menuPaperProps={{- sx: {- backgroundColor: (theme) =>- theme.colors.background.elevated2,- },- }}+ menuPaperSxProps={{ backgroundColor: "background.paper2" }}><OverflowMenuOptioncolor="critical"diff --git a/web/packages/base/components/OverflowMenu.tsx b/web/packages/base/components/OverflowMenu.tsxindex c93c7bda22..e860537f37 100644--- a/web/packages/base/components/OverflowMenu.tsx+++ b/web/packages/base/components/OverflowMenu.tsx@@ -34,10 +34,10 @@ interface OverflowMenuProps {*/triggerButtonProps?: Partial<IconButtonProps>;/**- * Optional additional properties for the MUI {@link Paper} that underlies- * the {@link Menu}.+ * Optional additional sx props for the MUI {@link Paper} that underlies the+ * {@link Menu}.*/- menuPaperProps?: Partial<PaperProps>;+ menuPaperSxProps?: PaperProps["sx"];}/**@@ -50,7 +50,7 @@ export const OverflowMenu: React.FC<ariaID,triggerButtonIcon,triggerButtonProps,- menuPaperProps,+ menuPaperSxProps,children,}) => {const [anchorEl, setAnchorEl] = useState<MenuProps["anchorEl"]>();@@ -79,7 +79,7 @@ export const OverflowMenu: React.FC<disablePadding: true,"aria-labelledby": ariaID,}}- slotProps={{ paper: menuPaperProps }}+ slotProps={{ paper: { sx: menuPaperSxProps } }}anchorOrigin={{ vertical: "bottom", horizontal: "right" }}transformOrigin={{ vertical: "top", horizontal: "right" }}>diff --git a/web/packages/new/photos/components/CollectionsSortOptions.tsx b/web/packages/new/photos/components/CollectionsSortOptions.tsxindex d0a8d3245a..4173d3bb09 100644--- a/web/packages/new/photos/components/CollectionsSortOptions.tsx+++ b/web/packages/new/photos/components/CollectionsSortOptions.tsx@@ -43,16 +43,15 @@ export const CollectionsSortOptions: React.FC<CollectionsSortOptionsProps> = ({<OverflowMenuariaID="collection-sort"triggerButtonIcon={<SortIcon />}- menuPaperProps={{- sx: {+ menuPaperSxProps={[+ {// The trigger button has a colored background, so add some// vertical margin to avoid showing the menu squat under the// trigger button.marginBlock: 1,- backgroundColor: (theme) =>- nestedInDialog ? "background.paper2" : undefined,},- }}+ nestedInDialog ? { backgroundColor: "background.paper2" } : {},+ ]}triggerButtonProps={{sx: {backgroundColor: (theme) =>diff --git a/web/packages/new/photos/components/PeopleList.tsx b/web/packages/new/photos/components/PeopleList.tsxindex e97ca91113..7351d312e8 100644--- a/web/packages/new/photos/components/PeopleList.tsx+++ b/web/packages/new/photos/components/PeopleList.tsx@@ -216,9 +216,7 @@ const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({<Skeletonvariant="circular"animation="wave"- sx={(theme) => ({- backgroundColor: theme.colors.background.elevated2,- })}+ sx={{ backgroundColor: "background.paper2" }}width={placeholderDimension}height={placeholderDimension}/>diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsxindex afb6ad0922..05b65361d4 100644--- a/web/packages/new/photos/components/SearchBar.tsx+++ b/web/packages/new/photos/components/SearchBar.tsx@@ -293,8 +293,9 @@ const createSelectStyles = ({"& :hover": {cursor: "pointer",},+ // Elevate the focused option further."& .option-contents": isFocused- ? { backgroundColor: colors.background.elevated2 }+ ? { backgroundColor: palette.background.paper2 }: {},"&:last-child .MuiDivider-root": {display: "none",