diff options
author | Vitaly Takmazov | 2018-12-05 00:02:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-12-05 00:02:35 +0300 |
commit | e6a665d34eae11a75bf1a0a1e71af214ee52ce55 (patch) | |
tree | aa8d5b1964dd21edf893390ea796e6e2117419c0 /Juick/Views | |
parent | 63e22269ec2d0295a7b170a88330a712d883eb24 (diff) |
Cleanup analyze warnings
Diffstat (limited to 'Juick/Views')
-rw-r--r-- | Juick/Views/ConversationCell.m | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Juick/Views/ConversationCell.m b/Juick/Views/ConversationCell.m index 4a0be13..bcf99e7 100644 --- a/Juick/Views/ConversationCell.m +++ b/Juick/Views/ConversationCell.m @@ -11,16 +11,11 @@ @implementation ConversationCell -- (void)awakeFromNib { - [super awakeFromNib]; - // Initialization code -} - -(void) configureWithChat:(Chat *)chat { self.chatName.textColor = [ColorScheme linkColor]; self.chatName.text = chat.uname; self.lastMessage.text = chat.lastMessageText; - self.unreadMarker.hidden = chat.unreadCount > 0; + self.unreadMarker.hidden = true; __weak UIImageView *weakAvatar = self.avatar; [self.avatar setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:chat.avatar]] placeholderImage:nil success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull image) { [UIView transitionWithView:weakAvatar |