Explorar el Código

disable return key if no text is input

Jonas Reinsch hace 7 años
padre
commit
ff28c53fe5
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      deltachat-ios/CredentialsController.swift

+ 2 - 0
deltachat-ios/CredentialsController.swift

@@ -31,6 +31,8 @@ class TextFieldCell:UITableViewCell {
         textField.placeholder = placeholder
         
         selectionStyle = .none
+        
+        textField.enablesReturnKeyAutomatically = true
     }