Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

code quality

laurenspriem39a8f030b1c2
diff --git a/mobile/apps/photos/lib/services/machine_learning/face_ml/person/person_service.dart b/mobile/apps/photos/lib/services/machine_learning/face_ml/person/person_service.dart
index 872acfc7b0..80f8c957c0 100644
--- a/mobile/apps/photos/lib/services/machine_learning/face_ml/person/person_service.dart
+++ b/mobile/apps/photos/lib/services/machine_learning/face_ml/person/person_service.dart
@@ -167,10 +167,9 @@ class PersonService {
logger.severe("Person $personID not found");
continue;
}
- final personData = person.data;
final Map<String, Set<String>> dbPersonCluster =
dbPersonClusterInfo[personID]!;
- if (_shouldUpdateRemotePerson(personData, dbPersonCluster)) {
+ if (_shouldUpdateRemotePerson(person.data, dbPersonCluster)) {
final personData = person.data;
personData.assigned = dbPersonCluster.entries
.map(