Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Update thumbnail of contacts in contacts section when linking or un-linking person from the contact

ashilkn888a60463361
diff --git a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart b/mobile/lib/services/machine_learning/face_ml/person/person_service.dart
index 4641af145a..65fe4462d6 100644
--- a/mobile/lib/services/machine_learning/face_ml/person/person_service.dart
+++ b/mobile/lib/services/machine_learning/face_ml/person/person_service.dart
@@ -64,7 +64,7 @@ class PersonService {
};
}
}
- logger.info("Email to name cache reset");
+ logger.info("Email to partial person data cache reset");
});
}
diff --git a/mobile/lib/ui/viewer/search_tab/contacts_section.dart b/mobile/lib/ui/viewer/search_tab/contacts_section.dart
index cefc83a332..02dd2193a9 100644
--- a/mobile/lib/ui/viewer/search_tab/contacts_section.dart
+++ b/mobile/lib/ui/viewer/search_tab/contacts_section.dart
@@ -102,7 +102,12 @@ class _ContactsSectionState extends State<ContactsSection> {
} else {
final recommendations = <Widget>[
..._contactSearchResults.map(
- (contactSearchResult) => ContactRecommendation(contactSearchResult),
+ (contactSearchResult) => ContactRecommendation(
+ contactSearchResult,
+ key: ValueKey(
+ contactSearchResult.name(),
+ ),
+ ),
),
const ContactCTA(),
];