summaryrefslogtreecommitdiff
path: root/Juick/RevealPanelViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/RevealPanelViewController.m')
-rw-r--r--Juick/RevealPanelViewController.m16
1 files changed, 5 insertions, 11 deletions
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];