Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix bug when filtering list of contacts when searching on add participant page and possibly in link email screen as well

ashilkn65ea4f755fbe
diff --git a/mobile/lib/ui/sharing/add_participant_page.dart b/mobile/lib/ui/sharing/add_participant_page.dart
index 51594f0150..1b8e8be725 100644
--- a/mobile/lib/ui/sharing/add_participant_page.dart
+++ b/mobile/lib/ui/sharing/add_participant_page.dart
@@ -140,6 +140,9 @@ class _AddParticipantPage extends State<AddParticipantPage> {
return Column(
children: [
MenuItemWidget(
+ key: ValueKey(
+ currentUser.displayName ?? currentUser.email,
+ ),
captionedTextWidget: CaptionedTextWidget(
title: currentUser.displayName ??
currentUser.email,
diff --git a/mobile/lib/ui/viewer/people/link_email_screen.dart b/mobile/lib/ui/viewer/people/link_email_screen.dart
index c531c833bc..961bd8999c 100644
--- a/mobile/lib/ui/viewer/people/link_email_screen.dart
+++ b/mobile/lib/ui/viewer/people/link_email_screen.dart
@@ -135,6 +135,7 @@ class _LinkEmailScreen extends State<LinkEmailScreen> {
return Column(
children: [
MenuItemWidget(
+ key: ValueKey(currentUser.email),
captionedTextWidget: CaptionedTextWidget(
title: currentUser.email,
),