marinofaggiana 5 ani în urmă
părinte
comite
0c9202aa6f

+ 1 - 4
iOSClient/RichWorkspace/NCRichWorkspace.swift

@@ -33,15 +33,12 @@ import SwiftRichString
     let gradientLayer: CAGradientLayer = CAGradientLayer()
 
     required init?(coder: NSCoder) {
-        super.init(coder: coder)
-        
-        backgroundColor = NCBrandColor.sharedInstance.backgroundView;
+        super.init(coder: coder)        
     }
 
     @objc func load(richWorkspaceText: String) {
         let richWorkspaceCommon = NCRichWorkspaceCommon()
         
-        backgroundColor = NCBrandColor.sharedInstance.backgroundView;
         richWorkspaceCommon.setRichWorkspaceText(richWorkspaceText, textView: textView)
         setGradient()
     }

+ 1 - 1
iOSClient/RichWorkspace/NCRichWorkspace.xib

@@ -22,7 +22,7 @@
                     <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
                 </textView>
             </subviews>
-            <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+            <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
             <constraints>
                 <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="wri-16-tQY" secondAttribute="bottom" constant="10" id="Ei6-vr-4dN"/>
                 <constraint firstItem="wri-16-tQY" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" constant="50" id="O2Y-0W-v0n"/>