π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use the correct key
Manav Rathi66f705ed9bbf
diff --git a/web/apps/photos/src/components/ml/PeopleList.tsx b/web/apps/photos/src/components/ml/PeopleList.tsxindex 09d9ebaafe..3748c0d8c3 100644--- a/web/apps/photos/src/components/ml/PeopleList.tsx+++ b/web/apps/photos/src/components/ml/PeopleList.tsx@@ -58,7 +58,7 @@ export const PeopleList = React.memo((props: PeopleListProps) => {}><FaceCropImageView- faceId={person.displayFaceId}+ faceID={person.displayFaceId}cacheKey={person.faceCropCacheKey}/></FaceChip>@@ -137,7 +137,7 @@ export function UnidentifiedFaces(props: {faces.map((face, index) => (<FaceChip key={index}><FaceCropImageView- faceId={face.id}+ faceID={face.id}cacheKey={face.crop?.cacheKey}/></FaceChip>@@ -148,12 +148,12 @@ export function UnidentifiedFaces(props: {}interface FaceCropImageViewProps {- faceId: string;+ faceID: string;cacheKey?: string;}const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({- faceId,+ faceID,cacheKey,}) => {const [objectURL, setObjectURL] = useState<string | undefined>();@@ -162,9 +162,9 @@ const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({let didCancel = false;const electron = globalThis.electron;- if (cacheKey && electron) {+ if (faceID && electron) {electron- .legacyFaceCrop(cacheKey)+ .legacyFaceCrop(faceID)/*cachedOrNew("face-crops", cacheKey, async () => {const user = await ensureLocalUser();@@ -184,7 +184,7 @@ const FaceCropImageView: React.FC<FaceCropImageViewProps> = ({didCancel = true;if (objectURL) URL.revokeObjectURL(objectURL);};- }, [faceId, cacheKey]);+ }, [faceID, cacheKey]);return objectURL ? (<img src={objectURL} />