summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/DiscoverViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/ViewControllers/DiscoverViewController.m')
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m6
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];