Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Correct mistake

laurenspriemcc91cb8012a3
diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart
index 02a49ff4a8..e9e6079204 100644
--- a/mobile/lib/face/db.dart
+++ b/mobile/lib/face/db.dart
@@ -671,7 +671,7 @@ class FaceMLDataDB {
Future<int> getClusteredFileCount() async {
final db = await instance.asyncDB;
final List<Map<String, dynamic>> maps = await db.getAll(
- 'SELECT COUNT(DISTINCT $fcFaceId) as count FROM $faceClustersTable',
+ 'SELECT $fcFaceId FROM $faceClustersTable',
);
final Set<int> fileIDs = {};
for (final map in maps) {