diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart index 2e07c56ac..f2a8dd931 100644 --- a/mobile/lib/face/db.dart +++ b/mobile/lib/face/db.dart @@ -181,19 +181,6 @@ class FaceMLDataDB { return maps.map((e) => e[faceEmbeddingBlob] as Uint8List); } - Future> getFileIdToCount() async { - final Map result = {}; - final db = await instance.database; - final List> maps = await db.rawQuery( - 'SELECT $fileIDColumn, COUNT(*) as count FROM $facesTable where $faceScore > $kMinFaceDetectionScore GROUP BY $fileIDColumn', - ); - - for (final map in maps) { - result[map[fileIDColumn] as int] = map['count'] as int; - } - return result; - } - Future getCoverFaceForPerson({ required int recentFileID, String? personID,