fix(mobile): add keys for person tiles in search (#27689)

* fix(mobile): key for person tiles in search

* chore: add key to avatar

* chore: use simple personId

* chore: rename key in person page
This commit is contained in:
Yaros
2026-04-14 17:05:09 +02:00
committed by GitHub
parent 8fb2c7755d
commit 3b47ca1c37
2 changed files with 3 additions and 1 deletions
@@ -89,7 +89,7 @@ class _DriftPeopleCollectionPageState extends ConsumerState<DriftPeopleCollectio
shape: 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)),
),