Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Guard people edit route result

Neeraj Guptad6dfbb9a6e86
diff --git a/mobile/apps/photos/lib/ui/viewer/people/people_app_bar.dart b/mobile/apps/photos/lib/ui/viewer/people/people_app_bar.dart
index cd17413e94..30d97f430a 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/people_app_bar.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/people_app_bar.dart
@@ -257,6 +257,7 @@ class _AppBarWidgetState extends State<PeopleAppBar> {
context,
SaveOrEditPerson(clusterID, person: person, isEditing: true),
);
+ if (!mounted) return;
if (result is PersonEntity) {
_appBarTitle = result.data.name;
person = result;