π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix
Manav Rathi32a47b402048
diff --git a/web/apps/photos/src/components/DeleteAccountModal.tsx b/web/apps/photos/src/components/DeleteAccountModal.tsxindex 08fbffc123..cc58b03598 100644--- a/web/apps/photos/src/components/DeleteAccountModal.tsx+++ b/web/apps/photos/src/components/DeleteAccountModal.tsx@@ -267,11 +267,12 @@ function MultilineInput({/><Typographyvariant="small"- sx={{- px: "8px",- color: "text.secondary",- ...(messageSxProps ?? {}),- }}+ sx={[+ { px: "8px", color: "text.secondary" },+ ...(Array.isArray(messageSxProps)+ ? messageSxProps+ : [messageSxProps]),+ ]}>{message}</Typography>diff --git a/web/apps/photos/src/components/DropdownInput.tsx b/web/apps/photos/src/components/DropdownInput.tsxindex 34527ebcaa..cb5bc18810 100644--- a/web/apps/photos/src/components/DropdownInput.tsx+++ b/web/apps/photos/src/components/DropdownInput.tsx@@ -117,11 +117,12 @@ export default function DropdownInput<T extends string>({{message && (<Typographyvariant="small"- sx={{- px: "8px",- color: "text.muted",- ...(messageSxProps ?? {}),- }}+ sx={[+ { px: "8px", color: "text.muted" },+ ...(Array.isArray(messageSxProps)+ ? messageSxProps+ : [messageSxProps]),+ ]}>{message}</Typography>