diff options
author | Vitaly Takmazov | 2017-12-10 01:24:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-12-10 01:24:59 +0300 |
commit | e6a11f68a2aab6c2578529694cf426749f8846ab (patch) | |
tree | cf601e0d124f443b68785ec14b51b85f89373c72 /Juick/ViewControllers/DiscoverViewController.m | |
parent | a38541e14ecfea8e37c80755fb3b2ef25cd81272 (diff) |
Large titles
Diffstat (limited to 'Juick/ViewControllers/DiscoverViewController.m')
-rw-r--r-- | Juick/ViewControllers/DiscoverViewController.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m index 4a36cfe..9d7c43b 100644 --- a/Juick/ViewControllers/DiscoverViewController.m +++ b/Juick/ViewControllers/DiscoverViewController.m @@ -22,6 +22,12 @@ AppDelegate *appDelegate; -(void) viewDidLoad { [super viewDidLoad]; + [self.navigationController.navigationBar setPrefersLargeTitles:YES]; + if ([self.path isEqualToString:[APIClient feedUrl]]) { + [self setTitle:@"My feed"]; + } else { + [self setTitle:@"Discover"]; + } appDelegate = (AppDelegate *) [UIApplication sharedApplication].delegate; if (appDelegate.pushedThread != nil) { [self performSegueWithIdentifier:@"threadViewSegue" sender:self]; |