Browse Source

remove the use_themingBackground in Brand config

marinofaggiana 5 years ago
parent
commit
2a8ff9142b
2 changed files with 3 additions and 1 deletions
  1. 1 1
      iOSClient/Brand/NCBrand.swift
  2. 2 0
      iOSClient/Networking/NCService.swift

+ 1 - 1
iOSClient/Brand/NCBrand.swift

@@ -74,7 +74,7 @@ import UIKit
     @objc public var use_login_web_personalized:        Bool = false                                                // Don't touch me !!
     @objc public var use_default_auto_upload:           Bool = false
     @objc public var use_themingColor:                  Bool = true
-    @objc public var use_themingBackground:             Bool = true
+    //@objc public var use_themingBackground:             Bool = true                                               // Deprecated
     @objc public var use_themingLogo:                   Bool = false
     @objc public var use_middlewarePing:                Bool = false
     @objc public var use_storeLocalAutoUploadAll:       Bool = false

+ 2 - 0
iOSClient/Networking/NCService.swift

@@ -152,6 +152,7 @@ class NCService: NSObject {
                 
                 // ------ THEMING -----------------------------------------------------------------------
                 
+                /*
                 if (NCBrandOptions.sharedInstance.use_themingBackground && capabilities!.themingBackground != "") {
                     
                     // Download Theming Background
@@ -185,6 +186,7 @@ class NCService: NSObject {
                     
                     self.appDelegate.settingThemingColorBrand()
                 }
+                */
                 
                 // ------ SEARCH ------------------------------------------------------------------------