From eeedf8b3c2353b0489e4ca31902cf5b728424248 Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Mon, 8 Apr 2024 14:05:38 +0530 Subject: [PATCH] [mob] Trailing commas --- mobile/lib/face/db.dart | 7 +++++-- .../face_ml/feedback/cluster_feedback.dart | 3 ++- mobile/lib/utils/file_util.dart | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart index 93c4617731..8aec617881 100644 --- a/mobile/lib/face/db.dart +++ b/mobile/lib/face/db.dart @@ -375,8 +375,11 @@ class FaceMLDataDB { where: '$personIdColumn = ?', whereArgs: [personID], ); - await db.delete(notPersonFeedback, - where: '$personIdColumn = ?', whereArgs: [personID]); + await db.delete( + notPersonFeedback, + where: '$personIdColumn = ?', + whereArgs: [personID], + ); } /// Returns a map of faceID to record of clusterId and faceEmbeddingBlob diff --git a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart index 87a81005d3..1205ccbdd6 100644 --- a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart +++ b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart @@ -411,7 +411,8 @@ class ClusterFeedbackService { useDbscan = false, }) async { _logger.info( - 'breakUpCluster called for cluster $clusterID with dbscan $useDbscan'); + 'breakUpCluster called for cluster $clusterID with dbscan $useDbscan', + ); final faceMlDb = FaceMLDataDB.instance; final faceIDs = await faceMlDb.getFaceIDsForCluster(clusterID); diff --git a/mobile/lib/utils/file_util.dart b/mobile/lib/utils/file_util.dart index 9506dbc5c5..b845d2ff66 100644 --- a/mobile/lib/utils/file_util.dart +++ b/mobile/lib/utils/file_util.dart @@ -279,7 +279,8 @@ Future<_LivePhoto?> _downloadLivePhoto( return _LivePhoto(imageFileCache, videoFileCache); } else { debugPrint( - "Warning: ${file.tag} either image ${imageFileCache == null} or video ${videoFileCache == null} is missing from remoteLive"); + "Warning: ${file.tag} either image ${imageFileCache == null} or video ${videoFileCache == null} is missing from remoteLive", + ); return null; } }).catchError((e) {