This commit is contained in:
parent
5a8cfc055d
commit
cc849c83b1
@ -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)))
|
||||
],
|
||||
: [],
|
||||
),
|
||||
),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user