diff --git a/Tusker/Screens/Utilities/EnhancedTableViewController.swift b/Tusker/Screens/Utilities/EnhancedTableViewController.swift index 7737acf252..eb8c3416ec 100644 --- a/Tusker/Screens/Utilities/EnhancedTableViewController.swift +++ b/Tusker/Screens/Utilities/EnhancedTableViewController.swift @@ -46,8 +46,8 @@ extension EnhancedTableViewController { guard let (previewProvider, actionsProvider) = cell.getPreviewProviders(for: cellLocation, sourceViewController: self) else { return nil } - let actionProvider: UIContextMenuActionProvider = { (elements) in - return UIMenu(title: "", image: nil, identifier: nil, options: [], children: elements + actionsProvider()) + let actionProvider: UIContextMenuActionProvider = { (_) in + return UIMenu(title: "", image: nil, identifier: nil, options: [], children: actionsProvider()) } return UIContextMenuConfiguration(identifier: nil, previewProvider: previewProvider, actionProvider: actionProvider) } else {