marinofaggiana 4 years ago
parent
commit
1035dd17a0

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

@@ -74,6 +74,8 @@ class NCCreateFormUploadAssets: XLFormViewController, NCSelectDelegate {
         
         super.viewDidLoad()
         
+        self.title = NSLocalizedString("_upload_photos_videos_", comment: "")
+        
         self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_cancel_", comment: ""), style: UIBarButtonItem.Style.plain, target: self, action: #selector(cancel))
         self.navigationItem.rightBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_save_", comment: ""), style: UIBarButtonItem.Style.plain, target: self, action: #selector(save))
         
@@ -107,7 +109,7 @@ class NCCreateFormUploadAssets: XLFormViewController, NCSelectDelegate {
     
     func initializeForm() {
         
-        let form : XLFormDescriptor = XLFormDescriptor(title: NSLocalizedString("_upload_photos_videos_", comment: "")) as XLFormDescriptor
+        let form : XLFormDescriptor = XLFormDescriptor() as XLFormDescriptor
         form.rowNavigationOptions = XLFormRowNavigationOptions.stopDisableRow
         
         var section : XLFormSectionDescriptor

+ 1 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadDocuments.swift

@@ -91,7 +91,7 @@ import NCCommunication
 
     func initializeForm() {
         
-        let form : XLFormDescriptor = XLFormDescriptor(title: NSLocalizedString("_upload_photos_videos_", comment: "")) as XLFormDescriptor
+        let form : XLFormDescriptor = XLFormDescriptor() as XLFormDescriptor
         form.rowNavigationOptions = XLFormRowNavigationOptions.stopDisableRow
         
         var section : XLFormSectionDescriptor

+ 3 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -72,6 +72,8 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate, NC
         
         super.viewDidLoad()
         
+        self.title = NSLocalizedString("_save_settings_", comment: "")
+        
         let saveButton : UIBarButtonItem = UIBarButtonItem(title: NSLocalizedString("_save_", comment: ""), style: UIBarButtonItem.Style.plain, target: self, action: #selector(save))
         self.navigationItem.rightBarButtonItem = saveButton
         
@@ -104,7 +106,7 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate, NC
     
     func initializeForm() {
         
-        let form : XLFormDescriptor = XLFormDescriptor(title: NSLocalizedString("_save_settings_", comment: "")) as XLFormDescriptor
+        let form : XLFormDescriptor = XLFormDescriptor() as XLFormDescriptor
         form.rowNavigationOptions = XLFormRowNavigationOptions.stopDisableRow
         
         var section : XLFormSectionDescriptor

+ 3 - 4
iOSClient/Main/NCPhotosPickerViewController.swift

@@ -102,12 +102,11 @@ class customPhotoPickerViewController: TLPhotosPickerViewController {
         
         self.customNavItem.leftBarButtonItem?.tintColor = NCBrandColor.sharedInstance.brand
         self.customNavItem.rightBarButtonItem?.tintColor = NCBrandColor.sharedInstance.brand
-        
-        self.titleLabel.textColor = NCBrandColor.sharedInstance.brand
-        self.subTitleLabel.textColor = NCBrandColor.sharedInstance.brand
-        
+      
+        /*
         self.titleLabel.textColor = NCBrandColor.sharedInstance.brand
         self.subTitleLabel.textColor = NCBrandColor.sharedInstance.brand
         self.subTitleArrowImageView.image = CCGraphics.changeThemingColorImage(self.subTitleArrowImageView.image, width: 100, height: 100, color: NCBrandColor.sharedInstance.brand)
+        */
     }
 }