π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Guard face detail navigation after dispose
Neeraj Gupta37c1f96e6ba9
diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/file_info_face_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/file_info_face_widget.dartindex e3315350ab..dd5736d46c 100644--- a/mobile/apps/photos/lib/ui/viewer/file_details/file_info_face_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/file_details/file_info_face_widget.dart@@ -258,6 +258,7 @@ class _FileInfoFaceWidgetState extends State<FileInfoFaceWidget> {).toList();}+ if (!mounted) return;await Navigator.of(context).push(MaterialPageRoute(builder: (context) => ClusterPage(@@ -277,6 +278,7 @@ class _FileInfoFaceWidgetState extends State<FileInfoFaceWidget> {// assigning a manual new clusterID so that the user can cluster it manuallyfinal String clusterID = newClusterID();await mlDataDB.updateFaceIdToClusterId({widget.face.faceID: clusterID});+ if (!mounted) return;await Navigator.of(context).push(MaterialPageRoute(builder: (context) =>@@ -286,6 +288,7 @@ class _FileInfoFaceWidgetState extends State<FileInfoFaceWidget> {return;}+ if (!mounted) return;showShortToast(context, AppLocalizations.of(context).faceNotClusteredYet);unawaited(MLService.instance.clusterAllImages(force: true));return;@@ -298,6 +301,7 @@ class _FileInfoFaceWidgetState extends State<FileInfoFaceWidget> {faceID: widget.face.faceID,clusterID: widget.clusterID,);+ if (!mounted) return;await Navigator.of(context).push(MaterialPageRoute(builder: (context) => SaveOrEditPerson(