Browse Source

return to email input field in NewContactController, if it doesn't contain a valid email address yet

cyberta 4 years ago
parent
commit
9a43ce7b00
1 changed files with 2 additions and 0 deletions
  1. 2 0
      deltachat-ios/Controller/NewContactController.swift

+ 2 - 0
deltachat-ios/Controller/NewContactController.swift

@@ -118,6 +118,8 @@ extension NewContactController: UITextFieldDelegate {
         } else if textField == nameCell.textField {
             if contactIsValid() {
                 saveContactButtonPressed()
+            } else {
+                emailCell.textField.becomeFirstResponder()
             }
         }
         return true