summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/ChatViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-02 17:16:01 +0300
committerGravatar Vitaly Takmazov2019-10-02 17:16:01 +0300
commitbf573afb9d05ce34ecd22b3dca85aca2c3896ae6 (patch)
tree2b55dfddb6d31f81294f2554d85bf41607a63f07 /Juick/ViewControllers/ChatViewController.m
parent33539a3c9c8534776722aa1148499f984e0019e7 (diff)
Shared navigation
Diffstat (limited to 'Juick/ViewControllers/ChatViewController.m')
-rw-r--r--Juick/ViewControllers/ChatViewController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/ViewControllers/ChatViewController.m b/Juick/ViewControllers/ChatViewController.m
index 989b531..4f9481c 100644
--- a/Juick/ViewControllers/ChatViewController.m
+++ b/Juick/ViewControllers/ChatViewController.m
@@ -21,7 +21,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
- [self.navigationController.visibleViewController setTitle:self.uname];
+ [self.navigationController.navigationItem setTitle:self.uname];
[self.tableView registerNib:[UINib nibWithNibName:@"BubbleMessageCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"bubbleMessageCell"];
self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
self.tableView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;