diff options
Diffstat (limited to 'Juick/Views')
-rw-r--r-- | Juick/Views/MessageCell.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m index 2d34029..06b657c 100644 --- a/Juick/Views/MessageCell.m +++ b/Juick/Views/MessageCell.m @@ -7,6 +7,10 @@ // #import "MessageCell.h" +#import "ColorScheme.h" + +@import DateTools; +@import YYWebImage; @implementation MessageCell @@ -14,6 +18,8 @@ [super awakeFromNib]; self.text.enabledTextCheckingTypes = NSTextCheckingTypeLink; self.text.delegate = self; + self.text.linkAttributes = @{ (id)kCTForegroundColorAttributeName: [ColorScheme linkColor], + (id)kCTUnderlineStyleAttributeName : [NSNumber numberWithInt:NSUnderlineStyleSingle] }; } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { |