[mob] Lint fixes

This commit is contained in:
Neeraj Gupta 2024-04-06 01:50:45 +05:30
parent 2ae37682e7
commit 6c02b03426
2 changed files with 5 additions and 2 deletions

View file

@ -326,7 +326,9 @@ class ClusterFeedbackService {
}
Future<void> removeFilesFromPerson(
List<EnteFile> files, PersonEntity p) async {
List<EnteFile> files,
PersonEntity p,
) async {
await FaceMLDataDB.instance.removeFilesFromPerson(files, p.remoteID);
Bus.instance.fire(PeopleChangedEvent());
}

View file

@ -821,7 +821,8 @@ class SearchService {
if (clusterIDToPersonID[clusterId] != null) {
throw Exception(
"Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}");
"Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}",
);
}
if (files.length < 3 && sortedClusterIds.length > 3) {
continue;