marinofaggiana 6 年之前
父节点
当前提交
156926b1d6
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      iOSClient/Networking/NCService.swift
  2. 1 1
      iOSClient/Settings/CCManageAccount.m

+ 1 - 1
iOSClient/Networking/NCService.swift

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

+ 1 - 1
iOSClient/Settings/CCManageAccount.m

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