Marino Faggiana 8 år sedan
förälder
incheckning
d110813287
2 ändrade filer med 7 tillägg och 3 borttagningar
  1. 5 1
      Picker/DocumentPickerViewController.swift
  2. 2 2
      iOSClient/CCConstant.swift

+ 5 - 1
Picker/DocumentPickerViewController.swift

@@ -128,7 +128,11 @@ class DocumentPickerViewController: UIDocumentPickerExtensionViewController, CCN
         CCNetworking.shared().settingDelegate(self)
         hud = CCHud.init(view: self.navigationController?.view)
         
-        // COLOR_SEPARATOR_TABLE
+        // COLOR
+        self.navigationController?.navigationBar.barTintColor = CCConstant.GlobalConstants.k_Color_NavigationBar
+        self.navigationController?.navigationBar.tintColor = CCConstant.GlobalConstants.k_Color_NavigationBar_Text
+        self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: CCConstant.GlobalConstants.k_Color_NavigationBar_Text]
+        
         self.tableView.separatorColor = CCConstant.GlobalConstants.k_Color_Seperator
         self.tableView.tableFooterView = UIView()
         

+ 2 - 2
iOSClient/CCConstant.swift

@@ -28,8 +28,8 @@ class CCConstant: NSObject {
     struct GlobalConstants {
         
         // GLOBLE COLOR DEFINE
-                
-        static let k_Color_Seperator: UIColor = UIColor(red: 53.0/255.0, green: 126.0/255.0, blue: 167.0/255.0, alpha: 1.0)
+        
+        static let k_Color_Seperator: UIColor = UIColor(red: 247.0/255.0, green: 247.0/255.0, blue: 247.0/255.0, alpha: 1.0)
         
         static let k_Color_Cryptocloud: UIColor = UIColor(red: 241.0/255.0, green: 90.0/255.0, blue: 34.0/255.0, alpha: 1.0)