π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Fix person cover photo
Neeraj Guptae10cb5d456f6
diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dartindex 1e5c013430..13db25f215 100644--- a/mobile/lib/face/db.dart+++ b/mobile/lib/face/db.dart@@ -241,7 +241,9 @@ class FaceMLDataDB {final clusterIDs =cluterRows.map((e) => e[cluserIDColumn] as int).toList();final List<Map<String, dynamic>> faceMaps = await db.rawQuery(- 'SELECT * FROM $facesTable where $faceClusterId IN (${clusterIDs.join(",")}) AND $fileIDColumn in (${fileId.join(",")}) AND $faceScore > $kMinHighQualityFaceScore ORDER BY $faceScore DESC',+ 'SELECT * FROM $facesTable where '+ '$faceIDColumn in (SELECT $fcFaceId from $faceClustersTable where $fcClusterID IN (${clusterIDs.join(",")}))'+ 'AND $fileIDColumn in (${fileId.join(",")}) AND $faceScore > $kMinHighQualityFaceScore ORDER BY $faceScore DESC',);if (faceMaps.isNotEmpty) {if (avatarFileId != null) {