marinofaggiana 4 年之前
父節點
當前提交
f88dacdb43
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      iOSClient/Main/Rename file/NCRenameFile.swift

+ 1 - 0
iOSClient/Main/Rename file/NCRenameFile.swift

@@ -119,6 +119,7 @@ class NCRenameFile: UIViewController, UITextFieldDelegate {
     func textFieldShouldReturn(_ textField: UITextField) -> Bool {
     func textFieldShouldReturn(_ textField: UITextField) -> Bool {
         
         
         textField.resignFirstResponder()
         textField.resignFirstResponder()
+        rename(textField)
         return true
         return true
     }
     }