Browse Source

dev dark mode

marinofaggiana 5 years ago
parent
commit
6c76490598

+ 3 - 2
iOSClient/Main/Create cloud/NCCreateFormUploadAssets.swift

@@ -119,7 +119,8 @@ class NCCreateFormUploadAssets: XLFormViewController, NCSelectDelegate, PhotoEdi
         // User folder Autoupload
         row = XLFormRowDescriptor(tag: "useFolderAutoUpload", rowType: XLFormRowDescriptorTypeBooleanSwitch, title: NSLocalizedString("_use_folder_auto_upload_", comment: ""))
         row.value = 0
-        
+        row.cellConfig["backgroundColor"] = NCBrandColor.sharedInstance.backgroundView
+
         row.cellConfig["textLabel.font"] = UIFont.systemFont(ofSize: 15.0)
         row.cellConfig["textLabel.textColor"] = NCBrandColor.sharedInstance.textView
         
@@ -197,7 +198,7 @@ class NCCreateFormUploadAssets: XLFormViewController, NCSelectDelegate, PhotoEdi
         row.disabled = true
         row.cellConfig["backgroundColor"] = NCBrandColor.sharedInstance.backgroundView
 
-        row.cellConfig["textView.backgroundColor"] = NCBrandColor.sharedInstance.backgroundForm
+        row.cellConfig["textView.backgroundColor"] = NCBrandColor.sharedInstance.backgroundView
         row.cellConfig["textView.font"] = UIFont.systemFont(ofSize: 14.0)
         row.cellConfig["textView.textColor"] = NCBrandColor.sharedInstance.textView
 

+ 1 - 1
iOSClient/Main/NCMainCommon.swift

@@ -1178,7 +1178,7 @@ class CCMainTabBarController : UITabBarController, UITabBarControllerDelegate {
             
         // Add the toView to the tab bar view
         fromView.superview?.addSubview(toView)
-        fromView.superview?.backgroundColor = UIColor.white
+        fromView.superview?.backgroundColor = NCBrandColor.sharedInstance.backgroundView
             
         // Position toView off screen (to the left/right of fromView)
         let screenWidth = UIScreen.main.bounds.size.width;

+ 1 - 1
iOSClient/Settings/NCManageAutoUploadFileName.swift

@@ -103,7 +103,7 @@ class NCManageAutoUploadFileName: XLFormViewController {
         row.disabled = true
         row.cellConfig["backgroundColor"] = NCBrandColor.sharedInstance.backgroundView
 
-        row.cellConfig["textView.backgroundColor"] = NCBrandColor.sharedInstance.backgroundForm
+        row.cellConfig["textView.backgroundColor"] = NCBrandColor.sharedInstance.backgroundView
         row.cellConfig["textView.font"] = UIFont.systemFont(ofSize: 14.0)
         row.cellConfig["textView.textColor"] = NCBrandColor.sharedInstance.textView