Explorar o código

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

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
9a43ce7b00
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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