|
@@ -2149,7 +2149,7 @@
|
|
|
|
|
|
[alertController addAction: [UIAlertAction actionWithTitle:NSLocalizedString(@"_cancel_", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) { }]];
|
|
|
|
|
|
- alertController.popoverPresentationController.sourceView = self.view;
|
|
|
+ alertController.popoverPresentationController.sourceView = self.tableView;
|
|
|
alertController.popoverPresentationController.sourceRect = [self.tableView rectForRowAtIndexPath:indexPath];
|
|
|
|
|
|
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
|
|
@@ -3455,7 +3455,6 @@
|
|
|
_metadata = [[NCMainCommon sharedInstance] getMetadataFromSectionDataSourceIndexPath:indexPath sectionDataSource:sectionDataSource];
|
|
|
|
|
|
if (direction == MGSwipeDirectionRightToLeft) {
|
|
|
-
|
|
|
[self actionDelete:indexPath];
|
|
|
}
|
|
|
|
|
@@ -3502,10 +3501,9 @@
|
|
|
}
|
|
|
|
|
|
[alertController addAction: [UIAlertAction actionWithTitle:NSLocalizedString(@"_cancel_", nil) style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
|
|
|
- [alertController dismissViewControllerAnimated:YES completion:nil];
|
|
|
}]];
|
|
|
|
|
|
- alertController.popoverPresentationController.sourceView = self.view;
|
|
|
+ alertController.popoverPresentationController.sourceView = self.tableView;
|
|
|
alertController.popoverPresentationController.sourceRect = [self.tableView rectForRowAtIndexPath:indexPath];
|
|
|
|
|
|
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
|