Skip to content

Commit

Permalink
Fix no delete action
Browse files Browse the repository at this point in the history
  • Loading branch information
passerbyloo authored and wangdu1005 committed Sep 10, 2019
1 parent 3bcf782 commit bfe1131
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 bfe1131

Please sign in to comment.