|
...
|
...
|
@@ -857,8 +857,15 @@ class _NoteBookChangePageState extends State<NoteBookChangePage> { |
|
|
|
_getContactData() async {
|
|
|
|
Contact contact = await _contactPicker.selectContactWithNative();
|
|
|
|
setState(() {
|
|
|
|
String fullName;
|
|
|
|
if (contact.fullName.compareTo(contact.phoneNumber) == 0) {
|
|
|
|
fullName = '';
|
|
|
|
} else {
|
|
|
|
fullName = contact.fullName;
|
|
|
|
}
|
|
|
|
|
|
|
|
_notebookDetailChangeModel.phoneController.text = contact.phoneNumber;
|
|
|
|
_notebookDetailChangeModel.nameController.text = contact.fullName;
|
|
|
|
_notebookDetailChangeModel.nameController.text = fullName;
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|