diff --git a/mobile/lib/domain/services/person_merge_tracker.service.dart b/mobile/lib/domain/services/person_merge_tracker.service.dart index a53d39cbe9..ca9171c284 100644 --- a/mobile/lib/domain/services/person_merge_tracker.service.dart +++ b/mobile/lib/domain/services/person_merge_tracker.service.dart @@ -2,11 +2,11 @@ /// Say we open the profile page (drift_person.page.dart) for Person A, and then nested above /// a image viewer for an image that belongs to Person A. /// -/// When the users now merges user A into user B, we cant just listen to -/// the changes in the profile page, we have to keep track where the user A (now B) +/// When the users now merges user A into user B, we can't just listen to +/// the changes in the profile page, we have to keep track of where the user A (now B) /// can be found in the DB. /// -/// So when popping back to the profile page (and the user is missing) we check +/// So when popping back to the profile page (and the user is missing), we check /// which other person B we have to display instead. class PersonMergeTrackerService { /// Map of merged person ID -> target person ID diff --git a/mobile/lib/presentation/pages/drift_person.page.dart b/mobile/lib/presentation/pages/drift_person.page.dart index ea8d12d3b3..12e7e506e1 100644 --- a/mobile/lib/presentation/pages/drift_person.page.dart +++ b/mobile/lib/presentation/pages/drift_person.page.dart @@ -93,7 +93,6 @@ class _DriftPersonPageState extends ConsumerState { .first .then((targetPerson) { if (targetPerson != null && mounted) { - // Mark the merge record as handled mergeTracker.markMergeRecordHandled(_person.id); // Open the target person's page