Browse Source

add control to capabilities!.themingBackground

Marino Faggiana 7 năm trước cách đây
mục cha
commit
27e0a031a0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {