Browse Source

add control to capabilities!.themingBackground

Marino Faggiana 7 years ago
parent
commit
27e0a031a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Networking/NCService.swift

+ 1 - 1
iOSClient/Networking/NCService.swift

@@ -124,7 +124,7 @@ class NCService: NSObject, OCNetworkingDelegate {
             
             // ------ THEMING -----------------------------------------------------------------------
             
-            if (NCBrandOptions.sharedInstance.use_themingBackground) {
+            if (NCBrandOptions.sharedInstance.use_themingBackground && capabilities!.themingBackground != "") {
                 
                 // Download Theming Background & Change Theming color
                 DispatchQueue.global().async {