refactor: update contact fetching to include accounts, photo, and thumbnail
This commit is contained in:
parent
612cccc381
commit
96427d78d9
@ -54,9 +54,9 @@ class _AlphabetScrollPageState extends State<AlphabetScrollPage> {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user