[mob][photos] Simplify

This commit is contained in:
laurenspriem
2025-01-13 12:33:33 +05:30
parent 0251144b11
commit 044136ab0e
3 changed files with 1 additions and 2 deletions

View File

@@ -357,6 +357,7 @@ class ClusterFeedbackService {
personID: person.remoteID,
clusterID: clusterID,
);
Bus.instance.fire(PeopleChangedEvent());
}
Future<void> ignoreCluster(String clusterID) async {

View File

@@ -255,7 +255,6 @@ class _PersonClustersState extends State<PersonReviewClusterSuggestion> {
person: widget.person,
clusterID: clusterID,
);
Bus.instance.fire(PeopleChangedEvent());
// Increment the suggestion index
if (mounted) {
setState(() => currentSuggestionIndex++);

View File

@@ -377,7 +377,6 @@ class _SaveOrEditPersonState extends State<SaveOrEditPerson> {
person: person.$1,
clusterID: widget.clusterID!,
);
Bus.instance.fire(PeopleChangedEvent());
Navigator.pop(context, person);
},