Marino Faggiana %!s(int64=7) %!d(string=hai) anos
pai
achega
d1f78bdf9f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      iOSClient/Photos/CCPhotos.m

+ 2 - 2
iOSClient/Photos/CCPhotos.m

@@ -401,8 +401,9 @@
 {
     [[NCMainCommon sharedInstance ] deleteFileWithFilesID:filesID e2ee:false serverUrl:@"" folderFileID:@"" completion:^(NSInteger errorCode, NSString *message) {
         [self reloadDatasource];
-        [self editingModeNO];
     }];
+    
+    [self editingModeNO];
 }
 
 - (void)deleteSelectedFiles
@@ -421,7 +422,6 @@
     [alertController addAction: [UIAlertAction actionWithTitle:NSLocalizedString(@"_cancel_", nil)
                                                          style:UIAlertActionStyleCancel
                                                        handler:^(UIAlertAction *action) {
-                                                           [alertController dismissViewControllerAnimated:YES completion:nil];
                                                        }]];
     
     alertController.popoverPresentationController.barButtonItem = self.navigationItem.rightBarButtonItems.firstObject;