marinofaggiana пре 5 година
родитељ
комит
626f60a5b1
2 измењених фајлова са 1 додато и 4 уклоњено
  1. 0 3
      iOSClient/Brand/NCBrand.swift
  2. 1 1
      iOSClient/PeekPop/CCPeekPop.m

+ 0 - 3
iOSClient/Brand/NCBrand.swift

@@ -42,7 +42,6 @@ class NCBrandColor: NSObject {
     @objc public var connectionNo:          UIColor = UIColor(red: 204.0/255.0, green: 204.0/255.0, blue: 204.0/255.0, alpha: 1.0)
     @objc public var encrypted:             UIColor = .red
     @objc public var backgroundView:        UIColor = .white
-    @objc public var backgroundMenu:        UIColor = .white
     @objc public var backgroundForm:        UIColor = UIColor(red: 244.0/255.0, green: 244.0/255.0, blue: 244.0/255.0, alpha: 1.0)
     @objc public var textView:              UIColor = .black
     @objc public var separator:             UIColor = UIColor(red: 235.0/255.0, green: 235.0/255.0, blue: 235.0/255.0, alpha: 1.0)
@@ -67,7 +66,6 @@ class NCBrandColor: NSObject {
         if darkMode {
             tabBar = .black
             backgroundView = .black
-            backgroundMenu = .darkGray
             backgroundForm = UIColor(red: 50.0/255.0, green: 50.0/255.0, blue: 50.0/255.0, alpha: 1.0)
             textView = .white
             separator = UIColor(red: 60.0/255.0, green: 60.0/255.0, blue: 60.0/255.0, alpha: 1.0)
@@ -75,7 +73,6 @@ class NCBrandColor: NSObject {
         } else {
             tabBar = .white
             backgroundView = .white
-            backgroundMenu = .white
             backgroundForm = UIColor(red: 244.0/255.0, green: 244.0/255.0, blue: 244.0/255.0, alpha: 1.0)
             textView = .black
             separator = UIColor(red: 235.0/255.0, green: 235.0/255.0, blue: 235.0/255.0, alpha: 1.0)

+ 1 - 1
iOSClient/PeekPop/CCPeekPop.m

@@ -62,7 +62,7 @@
         }
     }
     
-    self.view.backgroundColor = NCBrandColor.sharedInstance.backgroundMenu;
+    self.view.backgroundColor = NCBrandColor.sharedInstance.backgroundForm;
     self.imagePreview.image = [CCGraphics scaleImage:image toSize:CGSizeMake(self.view.bounds.size.width, self.view.bounds.size.height) isAspectRation:true];
     self.preferredContentSize = CGSizeMake(self.imagePreview.image.size.width,  self.imagePreview.image.size.height + highLabelFileName);
 }