Skip to content

Commit

Permalink
Merge pull request #63 from passerbyloo/master
Browse files Browse the repository at this point in the history
Fix no delete action
  • Loading branch information
sergdort authored Jul 26, 2019
2 parents 3bcf782 + bae0423 commit c610245
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 c610245

Please sign in to comment.