summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/NewPostViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/ViewControllers/NewPostViewController.m')
-rw-r--r--Juick/ViewControllers/NewPostViewController.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m
index 4bb3758..e4b5ac7 100644
--- a/Juick/ViewControllers/NewPostViewController.m
+++ b/Juick/ViewControllers/NewPostViewController.m
@@ -101,4 +101,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted";
self.navigationItem.rightBarButtonItem.enabled = [textView.text length];
}
+- (IBAction)cancelPost:(id)sender {
+ [self dismissViewControllerAnimated:YES completion:nil];
+}
@end