From 4cb73348685732f310eaab5d80980644ba99178b Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:43:50 +0530 Subject: [PATCH] [mob] Remove unused method --- mobile/lib/face/db.dart | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart index 2e07c56ac2..f2a8dd931d 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,