Change to use destructive style on delete button. Fixes #3159

This commit is contained in:
Maurice Parker 2021-06-15 21:33:23 -05:00
parent b27be9c8ea
commit 29458fb03b

View File

@ -1318,7 +1318,7 @@ private extension MasterFeedViewController {
alertController.addAction(UIAlertAction(title: cancelTitle, style: .cancel))
let deleteTitle = NSLocalizedString("Delete", comment: "Delete")
let deleteAction = UIAlertAction(title: deleteTitle, style: .default) { [weak self] action in
let deleteAction = UIAlertAction(title: deleteTitle, style: .destructive) { [weak self] action in
self?.delete(indexPath: indexPath, feedID: feedID)
}
alertController.addAction(deleteAction)