From d235ff10358c781e0c0d6deef4a865af801aa702 Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Tue, 21 May 2024 16:53:52 +0530 Subject: [PATCH] [mob][photos] Inline --- mobile/lib/face/db.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart index ad2ba416f..c72b197b4 100644 --- a/mobile/lib/face/db.dart +++ b/mobile/lib/face/db.dart @@ -27,7 +27,7 @@ class FaceMLDataDB { static final Logger _logger = Logger("FaceMLDataDB"); static const _databaseName = "ente.face_ml_db.db"; - static const _databaseVersion = 1; + // static const _databaseVersion = 1; FaceMLDataDB._privateConstructor(); @@ -402,7 +402,7 @@ class FaceMLDataDB { final clusterID = map[fcClusterID] as int; final faceID = map[fcFaceId] as String; result.putIfAbsent(personID, () => {}).putIfAbsent(clusterID, () => {}) - ..add(faceID); + .add(faceID); } return result; } @@ -916,7 +916,7 @@ class FaceMLDataDB { await db.execute(dropNotPersonFeedbackTable); await db.execute(dropClusterSummaryTable); await db.execute(dropFaceClustersTable); - + await db.execute(createClusterPersonTable); await db.execute(createNotPersonFeedbackTable); await db.execute(createClusterSummaryTable);