Sfoglia il codice sorgente

disable return key if no text is input

Jonas Reinsch 7 anni fa
parent
commit
ff28c53fe5
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
     }