summaryrefslogtreecommitdiff
path: root/Juick/MessagesViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2013-11-05 03:23:31 +0400
committerGravatar Vitaly Takmazov2013-11-05 03:23:31 +0400
commita795a089148f73389f1e35430ed94a9aec9156e7 (patch)
tree9540a86a5baba5aec5c2c649eddeb0b82c109d7e /Juick/MessagesViewController.m
parent633ae14fa1448330e58b12160dd0be35f78c1d57 (diff)
colors and buttons
Diffstat (limited to 'Juick/MessagesViewController.m')
-rw-r--r--Juick/MessagesViewController.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m
index 72cd0be..ac6f99d 100644
--- a/Juick/MessagesViewController.m
+++ b/Juick/MessagesViewController.m
@@ -13,7 +13,7 @@
#import "MessageCell.h"
#import "Message.h"
-#import "Colors.h"
+#import "ColorsAndButtons.h"
#import "NSURL+PathParameters.h"
@@ -93,7 +93,7 @@ static NSString *CellIdentifier = @"MessageCell";
[super viewDidLoad];
self.dataLoading = NO;
self.title = @"Discover";
- [self.view setBackgroundColor:[Colors mainBackground]];
+ [self.view setBackgroundColor:[ColorsAndButtons mainBackground]];
SWRevealViewController *revealController = [self revealViewController];
[self.navigationController.navigationBar addGestureRecognizer:revealController.panGestureRecognizer];
UIBarButtonItem *revealButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"reveal-icon.png"]
@@ -155,7 +155,7 @@ static NSString *CellIdentifier = @"MessageCell";
Message *msg = [_messages objectAtIndex:indexPath.row];
[cell.avatar setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://i.juick.com/as/%@.png", msg.userID]]]]];
cell.titleLabel.text = msg.user;
- cell.titleLabel.textColor = [Colors linkColor];
+ cell.titleLabel.textColor = [ColorsAndButtons linkColor];
cell.bodyLabel.text = msg.text;
[cell setBackgroundColor:[UIColor whiteColor]];
[cell setNeedsUpdateConstraints];