From f5180bc0d6991ec8eb773087695fa2359ddcfad2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 22 Dec 2017 03:09:14 +0300 Subject: Drop large titles --- Juick/AppDelegate.m | 4 ---- Juick/ViewControllers/DiscoverViewController.m | 1 - 2 files changed, 5 deletions(-) diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index b38168c..0cd064d 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -29,10 +29,6 @@ [[UINavigationBar appearance] setTintColor:[ColorScheme linkColor]]; //[[UINavigationBar appearance] setBarTintColor:[ColorScheme headerBackground]]; [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [ColorScheme linkColor]}]; - UIFont *defaultLargeFont = [UIFont preferredFontForTextStyle: UIFontTextStyleLargeTitle]; - [[UINavigationBar appearance] setLargeTitleTextAttributes:@{NSForegroundColorAttributeName: [ColorScheme linkColor], - NSFontAttributeName:[UIFont fontWithName:@"Serpentine-BoldItalic" size:defaultLargeFont.pointSize] - }]; [[UIToolbar appearance] setTintColor:[ColorScheme linkColor]]; [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; diff --git a/Juick/ViewControllers/DiscoverViewController.m b/Juick/ViewControllers/DiscoverViewController.m index 942ccc7..b15001c 100644 --- a/Juick/ViewControllers/DiscoverViewController.m +++ b/Juick/ViewControllers/DiscoverViewController.m @@ -22,7 +22,6 @@ AppDelegate *appDelegate; -(void) viewDidLoad { [super viewDidLoad]; - [self.navigationController.navigationBar setPrefersLargeTitles:YES]; if ([User isAuthenticated]) { [User checkIsValid:^(BOOL success) { if (success) { -- cgit v1.2.3