Marino Faggiana 8 years ago
parent
commit
c870e0887f
2 changed files with 4 additions and 1 deletions
  1. 3 0
      iOSClient/Brand/NCBrandConstant.h
  2. 1 1
      iOSClient/Utility/CCGraphics.m

+ 3 - 0
iOSClient/Brand/NCBrandConstant.h

@@ -31,6 +31,9 @@
 #define k_loginButtonLabelLink                  @"https://nextcloud.com/providers"
 #define k_webLoginAutenticationProtocol         @""
 
+// Color Brand Standard : Nextcloud #0082c9
+#define k_color_brand_standard                  [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
+
 // Capabilities Group
 #define k_capabilitiesGroups                    @"group.it.twsweb.Crypto-Cloud"
 

+ 1 - 1
iOSClient/Utility/CCGraphics.m

@@ -275,7 +275,7 @@
 
 + (UIImage *)changeThemingColorImage:(UIImage *)image color:(UIColor *)color
 {
-    if (k_option_use_themingColor == NO)
+    if (k_option_use_themingColor == NO || [color isEqual:k_color_brand_standard])
         return image;
     
     CGRect rect = CGRectMake(0, 0, image.size.width, image.size.height);