marinofaggiana 3 жил өмнө
parent
commit
cb79dc4978

+ 1 - 4
iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift

@@ -103,10 +103,7 @@ class NCBackgroundImageColor: UIViewController {
                 lightColor = activeAccount.lightColorFiles
             }
         }
-        if lightColor != "" || darkColor != "" {
-            useForAllSwitch.isOn = true
-        }
-        
+       
         // set color
         if darkmodeSwitch.isOn {
             if let color = UIColor.init(hex: darkColor) {

+ 2 - 2
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

@@ -926,10 +926,10 @@ class NCCollectionViewCommon: UIViewController, UIGestureRecognizerDelegate, UIS
         if let vcBackgroundImageColor = UIStoryboard(name: "NCBackgroundImageColor", bundle: nil).instantiateInitialViewController() as? NCBackgroundImageColor {
             
             vcBackgroundImageColor.collectionViewCommon = self
-            //vcBackgroundImageColor.defaultColor = defaultBackgroundColor
             
             let popup = NCPopupViewController(contentController: vcBackgroundImageColor, popupWidth: vcBackgroundImageColor.width, popupHeight: vcBackgroundImageColor.height)
-                                        
+            popup.backgroundAlpha = 0
+            
             self.present(popup, animated: true)
         }
     }