marinofaggiana 4 년 전
부모
커밋
cb79dc4978
2개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 4
      iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift
  2. 2 2
      iOSClient/Main/Collection Common/NCCollectionViewCommon.swift

+ 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)
         }
     }