marinofaggiana 4 년 전
부모
커밋
5a5c1ccc19
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift

+ 1 - 1
iOSClient/BackgroundImageColor/NCBackgroundImageColor.swift

@@ -207,6 +207,7 @@ class NCBackgroundImageColor: UIViewController {
         
         darkColor = ""
         lightColor = ""
+        useForAllSwitch.isOn = true
         
         if darkmodeSwitch.isOn {
             changeColor(.black)
@@ -250,7 +251,6 @@ class NCBackgroundImageColor: UIViewController {
 
         NSLayoutConstraint.activate([
             colorPicker.leadingAnchor.constraint(equalTo: chromaColorPickerView.leadingAnchor, constant: 20),
-            //colorPicker.centerXAnchor.constraint(equalTo: chromaColorPickerView.centerXAnchor),
             colorPicker.topAnchor.constraint(equalTo: chromaColorPickerView.topAnchor),
             colorPicker.widthAnchor.constraint(equalToConstant: defaultColorPickerSize.width),
             colorPicker.heightAnchor.constraint(equalToConstant: defaultColorPickerSize.height)