marinofaggiana 5 years ago
parent
commit
4b936e9a0d

+ 1 - 1
iOSClient/Brand/NCBrand.swift

@@ -71,7 +71,7 @@ class NCBrandColor: NSObject {
     }()
     
     @objc public let brand:                             String = "Nextcloud"
-    @objc public var brandInitials:                     String = "nc"
+    @objc public var brandInitials:                     String = "hc"
     @objc public let mailMe:                            String = "ios@nextcloud.com"
     @objc public let textCopyrightNextcloudiOS:         String = "Nextcloud for iOS %@ © 2019"
     @objc public let textCopyrightNextcloudServer:      String = "Nextcloud Server %@"

+ 1 - 1
iOSClient/Networking/NCService.swift

@@ -48,7 +48,7 @@ class NCService: NSObject {
         self.requestListTrash()
         
         // Thirt Part
-        if NCBrandOptions.sharedInstance.brandInitials.contains("hc") {
+        if NCBrandOptions.sharedInstance.brandInitials == "hc" {
             self.requestHC()
         }
     }

+ 1 - 1
iOSClient/Settings/CCManageAccount.m

@@ -188,7 +188,7 @@
     
     // Section : THIRT PART -------------------------------------------
 
-    if ([NCBrandOptions.sharedInstance.brandInitials containsString:@"hc"]) {
+    if ([NCBrandOptions.sharedInstance.brandInitials isEqualToString:@"hc"]) {
     
         section = [XLFormSectionDescriptor formSection];
         [form addFormSection:section];