This commit is contained in:
parent
5a8cfc055d
commit
cc849c83b1
@ -112,12 +112,14 @@ class _CompositionPageState extends State<CompositionPage> {
|
|||||||
: 'No phone number';
|
: 'No phone number';
|
||||||
return ListTile(
|
return ListTile(
|
||||||
title: Text(
|
title: Text(
|
||||||
contact.displayName,
|
'${contact.displayName.isNotEmpty ? contact.displayName[0] : ''}...${contact.displayName.isNotEmpty ? contact.displayName[contact.displayName.length - 1] : ''}',
|
||||||
|
// contact.displayName
|
||||||
style:
|
style:
|
||||||
const TextStyle(color: Colors.white),
|
const TextStyle(color: Colors.white),
|
||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
phoneNumber,
|
'${phoneNumber.isNotEmpty ? phoneNumber[0] : ''}...${phoneNumber.isNotEmpty ? phoneNumber[phoneNumber.length - 1] : ''}',
|
||||||
|
// phoneNumber,
|
||||||
style:
|
style:
|
||||||
const TextStyle(color: Colors.grey),
|
const TextStyle(color: Colors.grey),
|
||||||
),
|
),
|
||||||
@ -149,12 +151,7 @@ class _CompositionPageState extends State<CompositionPage> {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
}).toList()
|
}).toList()
|
||||||
: [
|
: [],
|
||||||
Center(
|
|
||||||
child: Text('No contacts found',
|
|
||||||
style:
|
|
||||||
TextStyle(color: Colors.white)))
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user