diff --git a/Tusker/Screens/Notifications/NotificationsTableViewController.swift b/Tusker/Screens/Notifications/NotificationsTableViewController.swift index 42a9970ed4..f57b187a98 100644 --- a/Tusker/Screens/Notifications/NotificationsTableViewController.swift +++ b/Tusker/Screens/Notifications/NotificationsTableViewController.swift @@ -160,11 +160,12 @@ class NotificationsTableViewController: EnhancedTableViewController { let cellConfiguration = (tableView.cellForRow(at: indexPath) as? TableViewSwipeActionProvider)?.trailingSwipeActionsConfiguration() let config: UISwipeActionsConfiguration if let cellConfiguration = cellConfiguration { - config = UISwipeActionsConfiguration(actions: [dismissAction] + cellConfiguration.actions) + config = UISwipeActionsConfiguration(actions: cellConfiguration.actions + [dismissAction]) + config.performsFirstActionWithFullSwipe = cellConfiguration.performsFirstActionWithFullSwipe } else { config = UISwipeActionsConfiguration(actions: [dismissAction]) + config.performsFirstActionWithFullSwipe = false } - config.performsFirstActionWithFullSwipe = true return config }