From 6b40f06a691e1264f6e35b6a5616198e6977787d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Mar 2019 20:17:42 +0300 Subject: Named colours --- Juick/AppDelegate.m | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Juick/AppDelegate.m') diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index b3f544c..b58251b 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -10,7 +10,6 @@ #import "MessagesViewController.h" #import "LoginViewController.h" -#import "ColorScheme.h" #import "APIClient.h" #import "Message.h" #import "User.h" @@ -26,11 +25,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - [[UINavigationBar appearance] setTintColor:[ColorScheme linkColor]]; + [[UINavigationBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; //[[UINavigationBar appearance] setBarTintColor:[ColorScheme headerBackground]]; - [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [ColorScheme linkColor]}]; - [[UIToolbar appearance] setTintColor:[ColorScheme linkColor]]; - [[UITabBar appearance] setTintColor:[ColorScheme linkColor]]; + [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Title"]}]; + [[UIToolbar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; + [[UITabBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleDefault; -- cgit v1.2.3