From 58f41ac91fd803a855c5d7e5588499c3fe40759e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 2 Oct 2019 12:31:21 +0300 Subject: Display post errors --- Juick/ViewControllers/NewPostViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m index b992ed8..4bb3758 100644 --- a/Juick/ViewControllers/NewPostViewController.m +++ b/Juick/ViewControllers/NewPostViewController.m @@ -55,7 +55,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted"; }]; } else { self.navigationController.navigationItem.rightBarButtonItem.enabled = YES; - // TODO: display error + [User throwUnableToLogin:self error:err]; } }]; } else { @@ -67,7 +67,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted"; }]; } else { self.navigationItem.rightBarButtonItem.enabled = YES; - // TODO: display error + [User throwUnableToLogin:self error:err]; } }]; } -- cgit v1.2.3