Просмотр исходного кода

add control to capabilities!.themingBackground

Marino Faggiana 7 лет назад
Родитель
Сommit
27e0a031a0
1 измененных файлов с 1 добавлено и 1 удалено
  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 {