瀏覽代碼

fix theming color

marinofaggiana 4 年之前
父節點
當前提交
334543f819
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Brand/NCBrand.swift

+ 1 - 1
iOSClient/Brand/NCBrand.swift

@@ -161,7 +161,7 @@ class NCBrandColor: NSObject {
         let darker: CGFloat = 30    // %
         let lighter: CGFloat = 30   // %
 
-        if !NCBrandOptions.sharedInstance.use_themingColor {
+        if NCBrandOptions.sharedInstance.use_themingColor {
             
             let themingColor = NCManageDatabase.sharedInstance.getCapabilitiesServerString(account: appDelegate.account, elements: NCElementsJSON.shared.capabilitiesThemingColor)