[mob][photos] Simplify
This commit is contained in:
@@ -357,6 +357,7 @@ class ClusterFeedbackService {
|
||||
personID: person.remoteID,
|
||||
clusterID: clusterID,
|
||||
);
|
||||
Bus.instance.fire(PeopleChangedEvent());
|
||||
}
|
||||
|
||||
Future<void> ignoreCluster(String clusterID) async {
|
||||
|
||||
@@ -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++);
|
||||
|
||||
@@ -377,7 +377,6 @@ class _SaveOrEditPersonState extends State<SaveOrEditPerson> {
|
||||
person: person.$1,
|
||||
clusterID: widget.clusterID!,
|
||||
);
|
||||
Bus.instance.fire(PeopleChangedEvent());
|
||||
|
||||
Navigator.pop(context, person);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user