π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Delete people and their mapping
laurenspriem115f1bd42e6c
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.dartindex 65ca7358a7..73922544a5 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@@ -228,7 +228,7 @@ class PersonService {personData.logStats();}- Future<void> deletePerson(String personID, {bool onlyMapping = true}) async {+ Future<void> deletePerson(String personID, {bool onlyMapping = false}) async {if (onlyMapping) {final PersonEntity? entity = await getPerson(personID);if (entity == null) {diff --git a/mobile/lib/ui/settings/debug/face_debug_section_widget.dart b/mobile/lib/ui/settings/debug/face_debug_section_widget.dartindex 08fb3d9d27..ee346fe9b6 100644--- a/mobile/lib/ui/settings/debug/face_debug_section_widget.dart+++ b/mobile/lib/ui/settings/debug/face_debug_section_widget.dart@@ -259,7 +259,7 @@ class _FaceDebugSectionWidgetState extends State<FaceDebugSectionWidget> {sectionOptionSpacing,MenuItemWidget(captionedTextWidget: const CaptionedTextWidget(- title: "Drop People to clusterMapping",+ title: "Drop People and clusterMapping",),pressedColor: getEnteColorScheme(context).fillFaint,trailingIcon: Icons.chevron_right_outlined,@@ -269,7 +269,7 @@ class _FaceDebugSectionWidgetState extends State<FaceDebugSectionWidget> {context,title: "Are you sure?",body:- "This won't delete the people, but will remove the mapping of people to clusters",+ "This will delete the people and all respective mappings of people to clusters",firstButtonLabel: "Yes, confirm",firstButtonOnTap: () async {try {