diff --git a/lib/features/contacts/contact_state.dart b/lib/features/contacts/contact_state.dart index 710cb5b..ed29bdc 100644 --- a/lib/features/contacts/contact_state.dart +++ b/lib/features/contacts/contact_state.dart @@ -35,11 +35,6 @@ class _ContactStateState extends State { List contacts = await _contactService.fetchContacts(); contacts = contacts.where((contact) => contact.phones.isNotEmpty).toList(); contacts.sort((a, b) => a.displayName.compareTo(b.displayName)); - // contacts.sort((a, b) { - // String aName = a.displayName.isNotEmpty ? a.displayName : '􏿿'; - // String bName = b.displayName.isNotEmpty ? b.displayName : '􏿿'; - // return aName.compareTo(bName); - // }); setState(() { _contacts = contacts; _loading = false;