WIP: fixSearchBar #28

Closed
florian wants to merge 6 commits from fixSearchBar into dev
Showing only changes of commit 9e24056f6c - Show all commits

View File

@ -112,12 +112,14 @@ class _CompositionPageState extends State<CompositionPage> {
: 'No phone number';
return ListTile(
title: Text(
contact.displayName,
'${contact.displayName.isNotEmpty ? contact.displayName[0] : ''}...${contact.displayName.isNotEmpty ? contact.displayName[contact.displayName.length - 1] : ''}',
// contact.displayName
style:
const TextStyle(color: Colors.white),
),
subtitle: Text(
phoneNumber,
'${phoneNumber.isNotEmpty ? phoneNumber[0] : ''}...${phoneNumber.isNotEmpty ? phoneNumber[phoneNumber.length - 1] : ''}',
// phoneNumber,
style:
const TextStyle(color: Colors.grey),
),
@ -149,12 +151,7 @@ class _CompositionPageState extends State<CompositionPage> {
},
);
}).toList()
: [
Center(
child: Text('No contacts found',
style:
TextStyle(color: Colors.white)))
],
: [],
),
),
],