Ver Fonte

disable return key if no text is input

Jonas Reinsch há 7 anos atrás
pai
commit
ff28c53fe5
1 ficheiros alterados com 2 adições e 0 exclusões
  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
     }