Jelajahi Sumber

rename file e2e

Marino Faggiana 7 tahun lalu
induk
melakukan
a2dbbc3753
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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;
         }