Marino Faggiana 8 жил өмнө
parent
commit
7a18f616c0

+ 5 - 1
iOSClient/Brand/NCBrand.swift

@@ -31,9 +31,9 @@ class NCBrandColor: NSObject {
     }()
 
     // Color
-    public var brand:                   UIColor = UIColor(red: 0.0/255.0, green: 130.0/255.0, blue: 201.0/255.0, alpha: 1.0)    // BLU NC : #0082c9
     public let customer:                UIColor = UIColor(red: 0.0/255.0, green: 130.0/255.0, blue: 201.0/255.0, alpha: 1.0)    // BLU NC : #0082c9
 
+    public var brand:                   UIColor
     public var connectionNo:            UIColor = UIColor(red: 204.0/255.0, green: 204.0/255.0, blue: 204.0/255.0, alpha: 1.0)
     public var cryptocloud:             UIColor = UIColor(red: 241.0/255.0, green: 90.0/255.0, blue: 34.0/255.0, alpha: 1.0)
     public var navigationBarProgress:   UIColor = .white
@@ -46,6 +46,10 @@ class NCBrandColor: NSObject {
     public var tableBackground:         UIColor = .white
     public var transferBackground:      UIColor = UIColor(red: 178.0/255.0, green: 244.0/255.0, blue: 258.0/255.0, alpha: 0.1)
     
+    override init() {
+        self.brand = self.customer
+    }
+    
     // Color modify
     public func getColorSelectBackgrond() -> UIColor {
         return self.brand.withAlphaComponent(0.1)