High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): add keys for person tiles in search (#27689)
Yaros3b47ca1c3732
diff --git a/mobile/lib/presentation/pages/drift_people_collection.page.dart b/mobile/lib/presentation/pages/drift_people_collection.page.dartindex d34ce3e776..32bbd7e60b 100644--- a/mobile/lib/presentation/pages/drift_people_collection.page.dart+++ b/mobile/lib/presentation/pages/drift_people_collection.page.dart@@ -89,7 +89,7 @@ class _DriftPeopleCollectionPageState extends ConsumerState<DriftPeopleCollectioshape: const CircleBorder(side: BorderSide.none),elevation: 3,child: CircleAvatar(- key: ValueKey('avatar-${person.id}'),+ key: ValueKey(person.id),maxRadius: isTablet ? 100 / 2 : 96 / 2,backgroundImage: RemoteImageProvider(url: getFaceThumbnailUrl(person.id)),),diff --git a/mobile/lib/widgets/search/search_filter/people_picker.dart b/mobile/lib/widgets/search/search_filter/people_picker.dartindex 978b70239c..a7b0286df3 100644--- a/mobile/lib/widgets/search/search_filter/people_picker.dart+++ b/mobile/lib/widgets/search/search_filter/people_picker.dart@@ -57,6 +57,7 @@ class PeoplePicker extends HookConsumerWidget {final isSelected = selectedPeople.value.contains(person);return Padding(+ key: ValueKey(person.id),padding: const EdgeInsets.only(bottom: 2.0),child: LargeLeadingTile(title: Text(@@ -73,6 +74,7 @@ class PeoplePicker extends HookConsumerWidget {shape: const CircleBorder(side: BorderSide.none),elevation: 3,child: CircleAvatar(+ key: ValueKey(person.id),maxRadius: imageSize / 2,backgroundImage: RemoteImageProvider(url: getFaceThumbnailUrl(person.id)),),