浏览代码

rename file e2e

Marino Faggiana 7 年之前
父节点
当前提交
a2dbbc3753
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      iOSClient/Main/CCMain.m

+ 1 - 2
iOSClient/Main/CCMain.m

@@ -2099,10 +2099,9 @@
     
     if ([CCUtility isFolderEncrypted:self.serverUrl account:app.activeAccount]) {
         
-        // Verify if exists new fileName
+        // Verify if exists the new fileName
         if ([[NCManageDatabase sharedInstance] getE2eEncryptionWithPredicate:[NSPredicate predicateWithFormat:@"account = %@ AND serverUrl = %@ AND fileName = %@", app.activeAccount, self.serverUrl, fileName]]) {
             [app messageNotification:@"_error_" description:@"_file_already_exists_" visible:YES delay:k_dismissAfterSecond type:TWMessageBarMessageTypeError errorCode:0];
-
             return;
         }