From a778c55cd848b0d0d452a20e8eaf6a477c068ca3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 15 Aug 2016 00:54:41 +0300 Subject: colors --- Juick/RevealPanelViewController.m | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'Juick/RevealPanelViewController.m') diff --git a/Juick/RevealPanelViewController.m b/Juick/RevealPanelViewController.m index 1e9fb7b..d890f97 100644 --- a/Juick/RevealPanelViewController.m +++ b/Juick/RevealPanelViewController.m @@ -38,13 +38,9 @@ static NSString *CellIdentifier = @"NavCell"; - (void)viewDidLoad { [super viewDidLoad]; - - if (NSFoundationVersionNumber <= NSFoundationVersionNumber_iOS_6_1) { - self.navigationController.navigationBar.tintColor = [ColorScheme navbarBackground]; - } - [self.view setBackgroundColor:[ColorScheme navbarBackground]]; + [self.view setBackgroundColor:[ColorScheme mainBackground]]; self.tableView = [[UITableView alloc] init]; - [self.tableView setBackgroundColor:[ColorScheme navbarBackground]]; + [self.tableView setBackgroundColor:[ColorScheme mainBackground]]; self.tableView.delegate = self; self.tableView.dataSource = self; [self.tableView setSeparatorInset:UIEdgeInsetsZero]; @@ -114,12 +110,10 @@ static NSString *CellIdentifier = @"NavCell"; - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { NavCell * cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath]; NSInteger row = indexPath.row; - [cell.contentView setBackgroundColor:[ColorScheme navbarBackground]]; + [cell.contentView setBackgroundColor:[UIColor whiteColor]]; cell.icon.font = [UIFont fontWithName:kFontAwesomeFamilyName size:32.f]; - cell.icon.textColor = [ColorScheme navbarFont]; - //cell.iconLabel.backgroundColor = [ColorScheme navbarBackground]; - //cell.descriptionTextLabel.backgroundColor = [ColorScheme navbarBackground]; - cell.descriptionText.textColor = [ColorScheme navbarFont]; + cell.icon.textColor = [ColorScheme linkColor]; + cell.descriptionText.textColor = [ColorScheme linkColor]; if (row == 0) { cell.descriptionText.text = @"My feed"; cell.icon.text = [NSString fontAwesomeIconStringForEnum:FAIconHome]; -- cgit v1.2.3