Skip to content

Commit

Permalink
fix: Search contacts cached
Browse files Browse the repository at this point in the history
  • Loading branch information
drminh2807 authored and hoangdat committed Oct 5, 2023
1 parent 0065bb4 commit 8d8f8a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class ExpansionContactListTile extends StatelessWidget {
return Padding(
padding: const EdgeInsets.only(left: 8.0, top: 8.0, bottom: 12.0),
child: FutureBuilder<Profile?>(
key: contact.matrixId != null ? Key(contact.matrixId!) : null,
future:
contact.status == ContactStatus.active ? getProfile(context) : null,
builder: (context, snapshot) {
Expand Down

0 comments on commit 8d8f8a1

Please sign in to comment.