Marino Faggiana 7 anni fa
parent
commit
2d52c1f4c1
1 ha cambiato i file con 2 aggiunte e 14 eliminazioni
  1. 2 14
      iOSClient/Main/CCMain.m

+ 2 - 14
iOSClient/Main/CCMain.m

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