marinofaggiana 4 years ago
parent
commit
95f549390d
1 changed files with 7 additions and 8 deletions
  1. 7 8
      iOSClient/Brand/NCBrand.swift

+ 7 - 8
iOSClient/Brand/NCBrand.swift

@@ -144,7 +144,6 @@ class NCBrandColor: NSObject {
     @objc public let nextcloud:             UIColor = UIColor(red: 0.0/255.0, green: 130.0/255.0, blue: 201.0/255.0, alpha: 1.0)
     @objc public let nextcloud:             UIColor = UIColor(red: 0.0/255.0, green: 130.0/255.0, blue: 201.0/255.0, alpha: 1.0)
     @objc public let nextcloudSoft:         UIColor = UIColor(red: 90.0/255.0, green: 160.0/255.0, blue: 210.0/255.0, alpha: 1.0)
     @objc public let nextcloudSoft:         UIColor = UIColor(red: 90.0/255.0, green: 160.0/255.0, blue: 210.0/255.0, alpha: 1.0)
     @objc public let gray:                  UIColor = UIColor(red: 104.0/255.0, green: 104.0/255.0, blue: 104.0/255.0, alpha: 1.0)
     @objc public let gray:                  UIColor = UIColor(red: 104.0/255.0, green: 104.0/255.0, blue: 104.0/255.0, alpha: 1.0)
-    @objc public let graySoft:              UIColor = UIColor(red: 162.0/255.0, green: 162.0/255.0, blue: 162.0/255.0, alpha: 0.5)
     
     
     @objc public var systemBackground: UIColor {
     @objc public var systemBackground: UIColor {
         get {
         get {
@@ -284,12 +283,12 @@ class NCBrandColor: NSObject {
         
         
         cacheImages.file = UIImage.init(named: "file")!
         cacheImages.file = UIImage.init(named: "file")!
         
         
-        cacheImages.shared = UIImage(named: "share")!.image(color: graySoft, size: 50)
-        cacheImages.canShare = UIImage(named: "share")!.image(color: graySoft, size: 50)
-        cacheImages.shareByLink = UIImage(named: "sharebylink")!.image(color: graySoft, size: 50)
+        cacheImages.shared = UIImage(named: "share")!.image(color: systemGray5, size: 50)
+        cacheImages.canShare = UIImage(named: "share")!.image(color: systemGray5, size: 50)
+        cacheImages.shareByLink = UIImage(named: "sharebylink")!.image(color: systemGray5, size: 50)
         
         
         cacheImages.favorite = NCUtility.shared.loadImage(named: "star.fill", color: systemYellow)
         cacheImages.favorite = NCUtility.shared.loadImage(named: "star.fill", color: systemYellow)
-        cacheImages.comment = UIImage(named: "comment")!.image(color: graySoft, size: 50)
+        cacheImages.comment = UIImage(named: "comment")!.image(color: systemGray5, size: 50)
         cacheImages.livePhoto = NCUtility.shared.loadImage(named: "livephoto", color: label)
         cacheImages.livePhoto = NCUtility.shared.loadImage(named: "livephoto", color: label)
         cacheImages.offlineFlag = UIImage.init(named: "offlineFlag")!
         cacheImages.offlineFlag = UIImage.init(named: "offlineFlag")!
         cacheImages.local = UIImage.init(named: "local")!
         cacheImages.local = UIImage.init(named: "local")!
@@ -304,10 +303,10 @@ class NCBrandColor: NSObject {
         cacheImages.folder =  UIImage(named: "folder")!.image(color: brandElement, size: folderWidth)
         cacheImages.folder =  UIImage(named: "folder")!.image(color: brandElement, size: folderWidth)
         
         
         cacheImages.checkedYes = NCUtility.shared.loadImage(named: "checkmark.circle.fill", color: .darkGray)
         cacheImages.checkedYes = NCUtility.shared.loadImage(named: "checkmark.circle.fill", color: .darkGray)
-        cacheImages.checkedNo = NCUtility.shared.loadImage(named: "circle", color: graySoft)
+        cacheImages.checkedNo = NCUtility.shared.loadImage(named: "circle", color: systemGray5)
         
         
-        cacheImages.buttonMore = UIImage(named: "more")!.image(color: graySoft, size: 50)
-        cacheImages.buttonStop = UIImage(named: "stop")!.image(color: graySoft, size: 50)
+        cacheImages.buttonMore = UIImage(named: "more")!.image(color: systemGray5, size: 50)
+        cacheImages.buttonStop = UIImage(named: "stop")!.image(color: systemGray5, size: 50)
     }
     }
     
     
 #if !EXTENSION
 #if !EXTENSION