Browse Source

set edit-name placeholder to display-name

B. Petersen 4 năm trước cách đây
mục cha
commit
9f4d6f4263
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      deltachat-ios/Controller/EditContactController.swift

+ 1 - 0
deltachat-ios/Controller/EditContactController.swift

@@ -12,6 +12,7 @@ class EditContactController: NewContactController {
 
         let contact = DcContact(id: contactIdForUpdate)
         nameCell.textField.text = contact.name
+        nameCell.placeholder = contact.displayName
         emailCell.textField.text = contact.email
         emailCell.textField.isEnabled = false
         emailCell.contentView.alpha = 0.3