Skip to content

Commit

Permalink
Defect #11 -- no success message with successful reply
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitPatanaik committed Mar 25, 2017
1 parent 4170bb9 commit e9387a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Kuva/Kuva/PostDetailViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,11 @@ class PostDetailViewController: PrimaryViewController, UITableViewDelegate, UITa
}))
self.present(fail_alert, animated: true, completion: nil)
} else {
let succ_alert = UIAlertController(title: "Success", message: "Comment posted", preferredStyle: .alert)
succ_alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { [weak alert] (_) in
// dismiss
}))
self.present(succ_alert, animated: true, completion: nil)
// let succ_alert = UIAlertController(title: "Success", message: "Comment posted", preferredStyle: .alert)
// succ_alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { [weak alert] (_) in
// // dismiss
// }))
// self.present(succ_alert, animated: true, completion: nil)
}
self.updateCurrentView()
}
Expand Down

0 comments on commit e9387a8

Please sign in to comment.