summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-02 12:31:21 +0300
committerGravatar Vitaly Takmazov2019-10-02 12:31:21 +0300
commit58f41ac91fd803a855c5d7e5588499c3fe40759e (patch)
tree3ed1e249018f2a538d1b44f88cf9f5e4e96119db /Juick
parentc45f609bc7cc2f3ab034ccbf7457d2dd4f7d6b1b (diff)
Display post errors
Diffstat (limited to 'Juick')
-rw-r--r--Juick/ViewControllers/NewPostViewController.m4
1 files 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];
}
}];
}