Skip to content

Commit

Permalink
Fix no delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiledev7 committed Mar 21, 2019
1 parent aa59de7 commit fb5dda5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class EditPostViewController: UIViewController {
preferredStyle: .alert
)
let yesAction = UIAlertAction(title: "Yes", style: .destructive, handler: { _ -> () in observer.onNext(()) })
let noAction = UIAlertAction(title: "No", style: .cancel, handler: { _ -> () in observer.onNext(()) })
let noAction = UIAlertAction(title: "No", style: .cancel, handler: nil)
alert.addAction(yesAction)
alert.addAction(noAction)

Expand Down

0 comments on commit fb5dda5

Please sign in to comment.