summaryrefslogtreecommitdiff
path: root/Juick/RevealPanelViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-15 00:54:41 +0300
committerGravatar Vitaly Takmazov2016-08-15 00:54:41 +0300
commita778c55cd848b0d0d452a20e8eaf6a477c068ca3 (patch)
tree4806924f036eff97cbbd623c23234aea68afc80e /Juick/RevealPanelViewController.m
parentc2a3fddc05e971351f919b1490869cb11e78ee30 (diff)
colors
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];