Prechádzať zdrojové kódy

color table background

Marino Faggiana 8 rokov pred
rodič
commit
5ef8bdf6e8

+ 2 - 1
iOSClient/Brand/CCNextcloudConstant.h

@@ -62,7 +62,7 @@
 
 #define COLOR_NAVIGATIONBAR             [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]                   // BLU NC : #0082c9
 
-#define COLOR_NAVIGATIONBAR_SHARE       [UIColor colorWithRed:18.0/255.0 green:52.0/255.0 blue:78.0/255.0 alpha:1.0]
+#define COLOR_NAVIGATIONBAR_SHARE       [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
 
 #define COLOR_NAVIGATIONBAR_TEXT        [UIColor whiteColor]
 #define COLOR_NAVIGATIONBAR_PROGRESS    [UIColor whiteColor]
@@ -88,4 +88,5 @@
 #define COLOR_REFRESH_CONTROL           [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]                   // BLU NC : #0082c9
 #define COLOR_WINDOW_TINTCOLOR          [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]                   // BLU NC : #0082c9
 
+#define COLOR_TABLE_BACKGROUND          [UIColor whiteColor]
 

+ 2 - 0
iOSClient/Brand/Constant.swift

@@ -45,6 +45,8 @@ class Constant: NSObject {
         
         static let k_Color_Anthracite: UIColor = UIColor(red: 65.0/255.0, green: 64.0/255.0, blue: 66.0/255.0, alpha: 1.0)
         
+        static let k_Color_Table_Background: UIColor = UIColor.white
+        
         // Response searchList
         
         static let kOrganizationFullName    = "FullName"

+ 1 - 1
iOSClient/Settings/CCAdvanced.m

@@ -126,7 +126,7 @@
     [super viewWillAppear:animated];
     
     self.title = NSLocalizedString(@"_settings_", nil);
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 1 - 1
iOSClient/Settings/CCManageAccount.m

@@ -102,7 +102,7 @@
 {
     [super viewWillAppear:animated];
  
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 1 - 1
iOSClient/Settings/CCManageCameraUpload.m

@@ -180,7 +180,7 @@
 {
     [super viewWillAppear:animated];
     
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 1 - 1
iOSClient/Settings/CCManageCryptoCloud.m

@@ -69,7 +69,7 @@
 {
     [super viewWillAppear:animated];
     
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
     
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 1 - 1
iOSClient/Settings/CCManageCryptoCloudSecurity.m

@@ -99,7 +99,7 @@
 {
     [super viewWillAppear:animated];
     
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
     
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 1 - 1
iOSClient/Settings/CCSettings.m

@@ -239,7 +239,7 @@
 {
     [super viewWillAppear:animated];
     
-    self.tableView.backgroundColor = [UIColor whiteColor];
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
     
     // Color
     [CCAspect aspectNavigationControllerBar:self.navigationController.navigationBar encrypted:NO online:[app.reachability isReachable] hidden:NO];

+ 3 - 1
iOSClient/Share/CCShareInfoCMOC.m

@@ -150,7 +150,9 @@
     self.view.backgroundColor = COLOR_NAVIGATIONBAR_SHARE;
     
     [self.endButton setTitle:NSLocalizedString(@"_done_", nil) forState:UIControlStateNormal];
-    self.endButton.tintColor = COLOR_NAVIGATIONBAR_TEXT;    
+    self.endButton.tintColor = COLOR_NAVIGATIONBAR_TEXT;
+    
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 }
 
 #pragma --------------------------------------------------------------------------------------------

+ 2 - 0
iOSClient/Share/CCShareOC.m

@@ -133,6 +133,8 @@
         line.backgroundColor = self.tableView.separatorColor;
         line;
     });
+    
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 }
 
 #pragma --------------------------------------------------------------------------------------------

+ 2 - 0
iOSClient/Share/CCSharePermissionOC.m

@@ -152,6 +152,8 @@
     [self.endButton setTitle:NSLocalizedString(@"_done_", nil) forState:UIControlStateNormal];
     self.endButton.tintColor = COLOR_NAVIGATIONBAR_TEXT;
     
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
+    
     shareDto = [app.sharesID objectForKey:self.idRemoteShared];
         
     [self initializeForm];    

+ 2 - 0
iOSClient/Share/CCShareUserOC.m

@@ -101,6 +101,8 @@
     
     [self.endButton setTitle:NSLocalizedString(@"_done_", nil) forState:UIControlStateNormal];
     self.endButton.tintColor = COLOR_NAVIGATIONBAR_TEXT;
+    
+    self.tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
 }
 
 #pragma --------------------------------------------------------------------------------------------

+ 1 - 1
iOSClient/Transfers/CCTransfers.m

@@ -72,7 +72,7 @@
     _tableView.emptyDataSetSource = self;
     
     _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
-    _tableView.backgroundColor = [UIColor clearColor];
+    _tableView.backgroundColor = COLOR_TABLE_BACKGROUND;
     
     self.title = NSLocalizedString(@"_transfers_", nil);