Explorar o código

disable return key if no text is input

Jonas Reinsch %!s(int64=7) %!d(string=hai) anos
pai
achega
ff28c53fe5
Modificáronse 1 ficheiros con 2 adicións e 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
     }