From 96427d78d9438e07cb6525d76d6f4139f79310dd Mon Sep 17 00:00:00 2001 From: AlexisDanlos <91090088+AlexisDanlos@users.noreply.github.com> Date: Sat, 5 Apr 2025 01:57:37 +0200 Subject: [PATCH] refactor: update contact fetching to include accounts, photo, and thumbnail --- .../features/contacts/widgets/alphabet_scroll_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dialer/lib/presentation/features/contacts/widgets/alphabet_scroll_page.dart b/dialer/lib/presentation/features/contacts/widgets/alphabet_scroll_page.dart index 9e3ded9..63ba9f4 100644 --- a/dialer/lib/presentation/features/contacts/widgets/alphabet_scroll_page.dart +++ b/dialer/lib/presentation/features/contacts/widgets/alphabet_scroll_page.dart @@ -54,9 +54,9 @@ class _AlphabetScrollPageState extends State { if (await FlutterContacts.requestPermission()) { Contact? fullContact = await FlutterContacts.getContact(contact.id, withProperties: true, - withAccounts: false, - withPhoto: false, - withThumbnail: false); + withAccounts: true, + withPhoto: true, + withThumbnail: true); if (fullContact != null) { fullContact.isStarred = !fullContact.isStarred;