summaryrefslogtreecommitdiff
path: root/Juick/Views/BubbleMessageCell.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
committerGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
commit6b40f06a691e1264f6e35b6a5616198e6977787d (patch)
treed7aa6427861523a8447d52a8b45d57a605a1a714 /Juick/Views/BubbleMessageCell.m
parente6fec9707f61b5d521bf1a2e6a85998f2466bdfa (diff)
Named colours
Diffstat (limited to 'Juick/Views/BubbleMessageCell.m')
-rw-r--r--Juick/Views/BubbleMessageCell.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Juick/Views/BubbleMessageCell.m b/Juick/Views/BubbleMessageCell.m
index 70746cf..ce41002 100644
--- a/Juick/Views/BubbleMessageCell.m
+++ b/Juick/Views/BubbleMessageCell.m
@@ -7,7 +7,6 @@
//
#import "BubbleMessageCell.h"
-#import "ColorScheme.h"
@implementation BubbleMessageCell
@@ -23,10 +22,10 @@
}
-(void) configureWithMessage:(Message *)message isMe:(BOOL)isMe {
- self.message.backgroundColor = isMe ? [ColorScheme secondaryBackground] : [ColorScheme mainBackground];
- self.message.textColor = isMe ? [UIColor whiteColor] : [ColorScheme textColor];
+ self.message.backgroundColor = isMe ? [UIColor colorNamed:@"Funny"] : [UIColor colorNamed:@"Chat"];
+ self.message.textColor = isMe ? [UIColor whiteColor] : [UIColor colorNamed:@"Text"];
self.message.dataDetectorTypes = UIDataDetectorTypeAll;
- self.message.tintColor = isMe? [UIColor whiteColor] : [ColorScheme linkColor];
+ self.message.tintColor = isMe? [UIColor whiteColor] : [UIColor colorNamed:@"Title"];
self.name.text = message.user.uname;
self.message.text = message.text;
self.unreadMarker.text = @"";