Commit d4ddd9f4e7a0a029f392ccca82aa050f7271f6e9

Authored by “gaiyaguang”
1 parent 2635ce9c

联系人

... ... @@ -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;
});
}
... ...