Marino Faggiana 8 years ago
parent
commit
05704e8952
2 changed files with 4 additions and 2 deletions
  1. 3 2
      iOSClient/AppDelegate.m
  2. 1 0
      iOSClient/CCGlobal.h

+ 3 - 2
iOSClient/AppDelegate.m

@@ -169,7 +169,7 @@
     pageControl.pageIndicatorTintColor = [UIColor whiteColor];
     pageControl.currentPageIndicatorTintColor = COLOR_PAGECONTROL_INDICATOR;
     pageControl.backgroundColor = COLOR_BACKGROUND_PAGECONTROL;
-    [[UIBarButtonItem appearanceWhenContainedIn: [UISearchBar class], nil] setTintColor:COLOR_TEXT_ANTHRACITE];
+    //[[UIBarButtonItem appearanceWhenContainedIn: [UISearchBar class], nil] setTintColor:COLOR_TEXT_ANTHRACITE];
     
     // remove tmp & cache
     dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
@@ -220,7 +220,8 @@
     // it is a device Jailbroken
     self.isDeviceJailbroken = isDeviceJailbroken();
 
-    [self.window setTintColor:COLOR_NAVIGATIONBAR_TEXT];
+    // Tint Color GLOBAL WINDOW
+    [self.window setTintColor:COLOR_WINDOW_TINTCOLOR];
     
     UISplitViewController *splitViewController = (UISplitViewController *)self.window.rootViewController;
     //UITabBarController *tabBarController = [splitViewController.viewControllers firstObject];

+ 1 - 0
iOSClient/CCGlobal.h

@@ -296,6 +296,7 @@ extern NSString *const BKPasscodeKeychainServiceName;
 #define COLOR_BACKGROUND_MESSAGE_INFO   [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
 #define COLOR_CONTROL_CENTER            [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
 #define COLOR_REFRESH_CONTROL           [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
+#define COLOR_WINDOW_TINTCOLOR          [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]                   // NC : #0082c9
 
 #endif