Marino Faggiana 7 жил өмнө
parent
commit
2d52c1f4c1

+ 2 - 14
iOSClient/Main/CCMain.m

@@ -3422,7 +3422,7 @@
         return NO;
         return NO;
     }
     }
 
 
-    if (@selector(pasteFile:) == action || @selector(pasteFileEncrypted:) == action) {
+    if (@selector(pasteFile:) == action) {
         
         
         UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
         UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
         NSArray *items = [pasteboard items];
         NSArray *items = [pasteboard items];
@@ -3459,7 +3459,7 @@
         return NO;
         return NO;
     }
     }
     
     
-    if (@selector(pasteFiles:) == action || @selector(pasteFilesEncrypted:) == action) {
+    if (@selector(pasteFiles:) == action) {
         
         
         BOOL isValid = NO;
         BOOL isValid = NO;
         
         
@@ -3593,24 +3593,12 @@
     [self uploadFilePasteArray:[pasteboard items] cryptated:NO];
     [self uploadFilePasteArray:[pasteboard items] cryptated:NO];
 }
 }
 
 
-- (void)pasteFileEncrypted:(id)sender
-{
-    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
-    [self uploadFilePasteArray:[pasteboard items] cryptated:YES];
-}
-
 - (void)pasteFiles:(id)sender
 - (void)pasteFiles:(id)sender
 {
 {
     UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
     UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
     [self uploadFilePasteArray:[pasteboard items] cryptated:NO];
     [self uploadFilePasteArray:[pasteboard items] cryptated:NO];
 }
 }
 
 
-- (void)pasteFilesEncrypted:(id)sender
-{
-    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
-    [self uploadFilePasteArray:[pasteboard items] cryptated:YES];
-}
-
 - (void)uploadFilePasteArray:(NSArray *)items cryptated:(BOOL)cryptated
 - (void)uploadFilePasteArray:(NSArray *)items cryptated:(BOOL)cryptated
 {
 {
     float timer = 0;
     float timer = 0;