diff options
author | Vitaly Takmazov | 2017-03-31 02:01:23 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-06-28 21:31:14 +0300 |
commit | 1fc442b9401aa88e5d2fdb2c8f059e9aede5f7e0 (patch) | |
tree | 5172bbfd7a360df5d8ace5686cef7afa3fca42db /Juick/Views | |
parent | 7506f7b1eec8f0f53bc995b8203bfea3412fdc4b (diff) |
production pushes and color fixes
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 { |