marinofaggiana 5 years ago
parent
commit
5d83ad537d
1 changed files with 0 additions and 15 deletions
  1. 0 15
      iOSClient/AppDelegate.m

+ 0 - 15
iOSClient/AppDelegate.m

@@ -1009,21 +1009,6 @@
     // Dark Mode
     // Dark Mode
     [NCBrandColor.sharedInstance setDarkMode];
     [NCBrandColor.sharedInstance setDarkMode];
     
     
-    // Appearance
-    UINavigationBar.appearance.tintColor = NCBrandColor.sharedInstance.brand;
-    UINavigationBar.appearance.barTintColor = NCBrandColor.sharedInstance.brand;
-    //[UINavigationBar.appearance setBackgroundImage:[[NCUtility sharedInstance] fromColorWithColor:NCBrandColor.sharedInstance.brand] forBarMetrics: UIBarMetricsDefault];
-    UINavigationBar.appearance.titleTextAttributes = @{NSForegroundColorAttributeName : NCBrandColor.sharedInstance.brand};
-    UINavigationBar.appearance.translucent = false;
-    // Refresh UIAppearance after application loaded
-    NSArray *windows = [UIApplication sharedApplication].windows;
-    for (UIWindow *window in windows) {
-        for (UIView *view in window.subviews) {
-            [view removeFromSuperview];
-            [window addSubview:view];
-        }
-    }
-    
     // View
     // View
     if (form) viewController.view.backgroundColor = NCBrandColor.sharedInstance.backgroundForm;
     if (form) viewController.view.backgroundColor = NCBrandColor.sharedInstance.backgroundForm;
     else viewController.view.backgroundColor = NCBrandColor.sharedInstance.backgroundView;
     else viewController.view.backgroundColor = NCBrandColor.sharedInstance.backgroundView;