summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-12-22 03:09:14 +0300
committerGravatar Vitaly Takmazov2017-12-22 03:09:14 +0300
commitf5180bc0d6991ec8eb773087695fa2359ddcfad2 (patch)
treed4277c9d4a86ca9b2a7e18f0115e8cc9ffaba93d
parent641332029b473234fd8aec7333d6e988b903e726 (diff)
Drop large titles
-rw-r--r--Juick/AppDelegate.m4
-rw-r--r--Juick/ViewControllers/DiscoverViewController.m1
2 files changed, 0 insertions, 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) {