|
@@ -86,6 +86,7 @@
|
|
self.arrayMoveServerUrlTo = [NSMutableArray new];
|
|
self.arrayMoveServerUrlTo = [NSMutableArray new];
|
|
self.arrayCopyMetadata = [NSMutableArray new];
|
|
self.arrayCopyMetadata = [NSMutableArray new];
|
|
self.arrayCopyServerUrlTo = [NSMutableArray new];
|
|
self.arrayCopyServerUrlTo = [NSMutableArray new];
|
|
|
|
+ self.sessionPendingStatusInUpload = [NSMutableArray new];
|
|
|
|
|
|
// Push Notification
|
|
// Push Notification
|
|
[application registerForRemoteNotifications];
|
|
[application registerForRemoteNotifications];
|
|
@@ -1008,6 +1009,21 @@
|
|
// 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;
|